I'm facing an issue while trying to use alias in my zsh
If I run alias
, I get a list of all my alias, the ones in .aliases file, and the ones that I run manually in zsh:
oloco@Arch: alias
my_manual_alias='yes'
cat='bat --paging=never -l log'
cp='cp -iv'
doc=/home/oloco/Documents
dot=/home/oloco/.dotfiles
dow=/home/oloco/Downloads
egrep='egrep --color=auto'
fgrep='fgrep --color=auto'
But, I I try to echo
any of them, nothing is shown:
oloco@Arch: echo $my_manual_alias
Why this behaviour? I think I should get my alias this way...or maybe not?
Thank you in advance!