Is there a way to list all aliases, something like:
$ ls-aliases
.. \"cd ..\"
la \"ls -Gla\"
gs \"git stash\"
etc...
Also is it possible to add
Note that in fish the alias
command creates a function using the alias name that wraps the alias value. So there isn't currently any way to list just "aliases". You can use the functions
command to list the names of all the defined functions (which by definition includes aliases). If you want the names one per line just functions | cat
.