Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- % grep nano ~/.profile
- EDITOR=/usr/local/bin/nano; export EDITOR
- VISUAL=/usr/local/bin/nano; export VISUAL
- %
- ----
- % cat /usr/share/games/fortune/freebsd-tips | grep -B 1 -A 5 variables
- %
- You can permanently set environment variables for your shell by putting them
- in a startup file for the shell. The name of the startup file varies
- depending on the shell - csh and tcsh uses .login, bash, sh, ksh and zsh use
- .profile. When using bash, sh, ksh or zsh, don't forget to export the
- variable.
- %
- %
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement