GJSchaller
Contributor
- Joined
- Feb 10, 2021
- Messages
- 100
I know that I can set nano as the default editor in a jail using the command:
However, each time I log out from the jail, then log back in, I need to re-run this command to set nano as the default again.
I did google this, but couldn't find a solution that worked on a FreeBSD jail - how do I set nano to be the default, even after I log out and back in again?
Thank you for your help!
Code:
setenv VISUAL /usr/local/bin/nano && setenv EDITOR /usr/local/bin/nano
However, each time I log out from the jail, then log back in, I need to re-run this command to set nano as the default again.
I did google this, but couldn't find a solution that worked on a FreeBSD jail - how do I set nano to be the default, even after I log out and back in again?
Thank you for your help!