Skip to content

Instantly share code, notes, and snippets.

@broxio
Created May 26, 2020 05:28
Show Gist options
  • Save broxio/2379b70fe4f4b9e0c24bdd450455a367 to your computer and use it in GitHub Desktop.
Save broxio/2379b70fe4f4b9e0c24bdd450455a367 to your computer and use it in GitHub Desktop.
moby@bogus:~$ sudo update-alternatives --config editor
There are 9 choices for the alternative editor (providing /usr/bin/editor).
Selection Path Priority Status
------------------------------------------------------------
* 0 /usr/bin/joe 70 auto mode
1 /bin/ed -100 manual mode
2 /bin/nano 40 manual mode
3 /usr/bin/jmacs 50 manual mode
4 /usr/bin/joe 70 manual mode
5 /usr/bin/jpico 50 manual mode
6 /usr/bin/jstar 50 manual mode
7 /usr/bin/rjoe 25 manual mode
8 /usr/bin/vim.basic 30 manual mode
9 /usr/bin/vim.tiny 15 manual mode
Press <enter> to keep the current choice[*], or type selection number:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment