monospace,
@monospace@floss.social avatar

Almost every Linux CLI tool that requires you to edit a file will consult the EDITOR environment variable to spawn the editor you prefer. So, if you want to use nano instead of vim, simply set it as your default editor in your .bashrc or .zshrc:

export EDITOR=nano

milosz,

@monospace I would add a small joke: git likes true editor 🤣

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux
  • DreamBathrooms
  • mdbf
  • ngwrru68w68
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • osvaldo12
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • InstantRegret
  • tacticalgear
  • provamag3
  • ethstaker
  • cisconetworking
  • modclub
  • tester
  • GTA5RPClips
  • cubers
  • everett
  • normalnudes
  • megavids
  • Leos
  • anitta
  • JUstTest
  • lostlight
  • All magazines