Shell shortcuts and fzf

August 17, 2019

I wanted to write a blog entry to gather some shell scripting aliases into one place. I’ll update this as time goes.

Git

Edit with git config --global -e

alias.cof=!git for-each-ref --format='%(refname:short)' refs/heads | fzf | xargs git checkout
alias.pom=pull origin master
alias.co=checkout
alias.b=branch
alias.s=status
push.default=current

Kubectl

kubectl/kubens Commands

fzf

Examples here. Look into later.

https://github.com/junegunn/fzf/wiki/Examples

fd-find

https://github.com/sharkdp/fd