I've got a referenced file called ~/.zsh/aliases
. Inside this file, I have an alias:
alias la='exa --icons -lah'
In my ~/.zshrc
, I have sourced this file towards to bottom of the file:
source ~/.zsh/aliases
source ~/.zsh/path
source ~/.zsh/var
However, the la
command is doing a "normal" la
. I've tried with other aliases and they work. For example, alias gc='exa --icons -lah'
will work. But if I assign la
with something else, it also doesn't work. For example, alias la='git commit'
doesn't work.
It seems like la
is taken and can't be overwritten.