Closed Giessen closed 4 months ago
This is actually documented here: https://github.com/jarun/nnn/wiki/concepts : "...Refer to your shell's documentation (e.g. BASH_ENV for bash, ~/.zshenv for zsh) to use aliases and functions. ..."
For anyone who is not aware of .zshrc, .zshenv, .zprofile, .zlogin, .zlogout, etc, here you go: https://unix.stackexchange.com/questions/71253/what-should-shouldnt-go-in-zshenv-zshrc-zlogin-zprofile-zlogout
I have a related question, how to run command alias via '!' as plugin? This might have been documented/indicated someware in the wiki, but I cannot find out to the best of my effort. Thanks in advance.
!
simply launches the shell, nnn
doesn't do anything special there. On my system aliases work just fine with !
.
If it isn't working for you, you need to consult your shell's documentation and make sure your aliases are being loaded properly. I set my aliases in my .zshrc
for example.
Thank you very much for the info.
Environment details (Put
x
in the checkbox along with the information)nnn
masterExact steps to reproduce the issue
Any ideas, please! Thanks!