TechExhibeo

nano default globally

Jan 12th, 2016
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.11 KB | None | 0 0
  1. echo "set nowrap" >>/etc/nanorc
  2. cat <<EOF >>/etc/profile.d/nano.sh
  3. export VISUAL="nano"
  4. export EDITOR="nano"
  5. EOF
Add Comment
Please, Sign In to add comment