Sometimes I see myself typing the same command + parameters combination over and over as if they should be the default behaviour for the command.
ls -a is such a candidate. The
-a flag includes files and directories starting with
"." into the list command.
Most of the time when I use the terminal I also interact with code. Therefor I want to see all code related files (including files like
🐡 Define an alias with fish
With fish it's a breeze to define an alias.
~/.config/fish/config.fish (create one if it doesn't exist yet).
Then I added the line
alias ls="ls -a" to replace
No worries, you can still pass any additional argument to your