As noted other places in this repository I use fish shell in my local environment. After 15 years of using Bash and Zsh I found fish to be very good. While I still write my shell scripts in Bash I find fish to be good at living in a CLI life. Here's a good read if you are interested in making the switch.
Some useful resources:
- Package manager for the fish shell: fisher or oh-my-fish
- kubectl completions for fish shell
- Git plugin for fish shell can be installed with fisher
fisher add jhillyerd/plugin-git
- Meta: A curated list of packages, prompts, and resources for the fish shell.
Some of my favorite aliases or functions:
# Alias k to kubectl
function k --wraps kubectl -d 'kubectl shorthand'
kubectl $argv
end
# Save the function
funcsave k