All Projects → quackduck → tii

quackduck / tii

Licence: MIT License
Command not found? Install it right there!

Programming Languages

go
31211 projects - #10 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to tii

Z.lua
⚡ A new cd command that helps you navigate faster by learning your habits.
Stars: ✭ 2,164 (+7914.81%)
Mutual labels:  zsh, fish
Gitmux
💻 Git in your tmux status bar
Stars: ✭ 180 (+566.67%)
Mutual labels:  zsh, fish
Powerline
Powerline is a statusline plugin for vim, and provides statuslines and prompts for several other applications, including zsh, bash, tmux, IPython, Awesome and Qtile.
Stars: ✭ 12,989 (+48007.41%)
Mutual labels:  zsh, fish
Xxh
🚀 Bring your favorite shell wherever you go through the ssh.
Stars: ✭ 2,559 (+9377.78%)
Mutual labels:  zsh, fish
Starship
☄🌌️ The minimal, blazing-fast, and infinitely customizable prompt for any shell!
Stars: ✭ 20,504 (+75840.74%)
Mutual labels:  zsh, fish
Up
Quickly navigate to a parent directory via tab-completion.
Stars: ✭ 126 (+366.67%)
Mutual labels:  zsh, fish
Kafkactl
Command Line Tool for managing Apache Kafka
Stars: ✭ 177 (+555.56%)
Mutual labels:  zsh, fish
Mac Bootstrap
💻 Provision a new Mac for web development with dotfiles + Fish/Zsh, Neovim, and Tmux
Stars: ✭ 96 (+255.56%)
Mutual labels:  zsh, fish
Silver
A cross-shell customizable powerline-like prompt with icons
Stars: ✭ 238 (+781.48%)
Mutual labels:  zsh, fish
Zoxide
A smarter cd command. Supports all major shells.
Stars: ✭ 4,422 (+16277.78%)
Mutual labels:  zsh, fish
Dotfiles
If there is a shell, there is a way!
Stars: ✭ 112 (+314.81%)
Mutual labels:  zsh, fish
carapace-bin
multi-shell multi-command argument completer
Stars: ✭ 42 (+55.56%)
Mutual labels:  zsh, fish
Forgit
💤 A utility tool powered by fzf for using git interactively.
Stars: ✭ 1,823 (+6651.85%)
Mutual labels:  zsh, fish
Gh
Easily manage your local git repos
Stars: ✭ 156 (+477.78%)
Mutual labels:  zsh, fish
Fzf
🌸 A command-line fuzzy finder
Stars: ✭ 40,965 (+151622.22%)
Mutual labels:  zsh, fish
Powerline Go
A beautiful and useful low-latency prompt for your shell, written in go
Stars: ✭ 2,299 (+8414.81%)
Mutual labels:  zsh, fish
Vg
Virtualgo: Easy and powerful workspace based development for go
Stars: ✭ 1,213 (+4392.59%)
Mutual labels:  zsh, fish
Zsh to fish
How to make zsh like fish?
Stars: ✭ 93 (+244.44%)
Mutual labels:  zsh, fish
Shellder
🐚 Featured zsh/fish shell theme
Stars: ✭ 192 (+611.11%)
Mutual labels:  zsh, fish
config
Fig's integrations with bash, zsh, fish, ssh, and tmux. Also contains Fig's installation and update scripts. Finally, this repo is the root of the .fig folder that is installed on your computer when you download Fig!
Stars: ✭ 44 (+62.96%)
Mutual labels:  zsh, fish

Tii

On most GNU/Linux systems, when a command is not found, a message showing what can be run to install the command is printed. However, macOS does not have this.

This program adds a similar function for macOS (only for macOS, as of now). Instead of simply printing the command, Tii also offers to run it for you.

demo

The name Tii is an acronym for "Then Install It", which is what you will probably say when shown "Command not found".

Installing

As of now, only macOS is supported

brew install quackduck/tap/tii

Usage

Tii will be automatically triggered if a command is not found and so you usually do not need to directly interact with it.

The Tii binary has the following usage:

Usage: tii [--help/-h | --version/-v | <command>]

Examples:
   tii fish
   tii cowsay
   tii --help

Environment

These are the environment variables that can affect Tii:

  • If TII_DISABLE_INTERACTIVE is set to "true", Tii will disable interactive output (prompting for confirmation) and not install any packages.

  • If TII_AUTO_INSTALL_EXACT_MATCHES is set to "true", Tii will automatically install exact matches without prompting for confirmation. This variable overrides TII_DISABLE_INTERACTIVE.

Uninstalling

If you have issues with Tii, head over to issues.

You can uninstall with:

brew uninstall tii

Here's a list of all the files Tii uses:

/usr/local/bin/tii
/usr/local/share/fish/vendor_functions.d/tii_on_command_not_found.fish
/etc/profile.d/tii_on_command_not_found.sh

Any other business

Have a question, idea or just want to share something? Head over to Discussions

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].