function gitcommands --description 'Grep (or not) git-aliases.txt' if count $argv > 0 cat ~/Nextcloud/Notes/git-aliases.txt | grep $argv[1] else cat ~/Nextcloud/Notes/git-aliases.txt end end