Add 'f' function

Adds 'f' function as a wrapper around 'fin' (the Docksal CLI) and removes the previous alias.
This commit is contained in:
Oliver Davies 2019-10-09 19:04:16 +01:00
parent 6b7a7ea5a7
commit 0054c9a7b7
2 changed files with 9 additions and 3 deletions
tag-zsh/zsh/functions

9
tag-zsh/zsh/functions/f Normal file
View file

@ -0,0 +1,9 @@
# No arguments: `fin ps`
# With arguments: acts like `fin`
f() {
if [[ $# > 0 ]]; then
fin $@
else
fin ps
fi
}