The fish nuggets project contains various completions and functions for the amazing Fish shell.
Shamelessly adapted from zmalltalker.
- Provides completion for git commands (eg. git ch completes for you)
- Provides completion of branch names for git branch
Completion of rake tasks with task description. The first time you type rake we will create a file containing the rake tasks in /tmp giving you tab completion of rake tasks. This supports several Rakefile locations, so you can use it for different projects.
Like Rake, lets you use tab completion for Capistrano tasks.
- edit_gem with tab completion for gem name lets you view the source for installed gems
- gem_doc with tab completion for gem name lets you view Rdoc for installed gems
cd ~/.config/fish
git init
git add .
git remote add github git@github.com:kaushikgopal/fish-nuggets.git
git pull github master
Go into ~/.config/fish and add this repository, then pull. This will add the scripts in this projects for you to use.
Since this repository is intended to replace your ~/.config/fish directory, you should keep your local customizations local - since they are probably of little use to other users.
The package provides some files you may customize:
- ~/.config/fish/local.fish: My custom settings
- ~/.config/fish/private.fish: My private settings (won't be populated ever)