Skip to content

Instantly share code, notes, and snippets.

@josh-gree
Created July 31, 2017 19:15
Show Gist options
  • Save josh-gree/8f91c67eef4ab45355aa9e3557845b69 to your computer and use it in GitHub Desktop.
Save josh-gree/8f91c67eef4ab45355aa9e3557845b69 to your computer and use it in GitHub Desktop.
curl -L -O http://www.nano-editor.org/dist/v2.2/NT/nano-2.2.6.zip
unzip nano-2.2.6.zip -d nano
mv nano ~/nano_install
echo -e "#!/bin/sh\nexec ~/nano_install/nano.exe \"\$@\"" > nano
chmod u+x nano
echo "export PATH=$PATH:~" > ~/.bashrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment