I tried “sh -c [some alias]” but that didn’t work, whereas running it directly was fine
~/.bashrc alias ll=" ls -alF "
There is the same problem in zsh, and technically I mainly want to solve the problem in zsh, and the result is the same in bash。
New contributor
AlohaHenry is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.