Created
May 10, 2022 13:26
-
-
Save silviot/e4a55b2ad548d54e8d201227c0c7f569 to your computer and use it in GitHub Desktop.
Install micro and set it as default editor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -e | |
wget -O- https://getmic.ro | sh | |
sudo mv micro /usr/local/bin/ | |
echo 'export EDITOR="micro"' >> ~/.bashrc | |
echo 'export VISUAL="$EDITOR"' >> ~/.bashrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment