@[email protected] to [email protected]English • 10 months agoHow dare you use a text editor because it's easy to uselemmy.fosshost.comimagemessage-square324fedilinkarrow-up1854arrow-down159
arrow-up1795arrow-down1imageHow dare you use a text editor because it's easy to uselemmy.fosshost.com@[email protected] to [email protected]English • 10 months agomessage-square324fedilink
minus-square@[email protected]linkfedilink6•10 months agoNot necessarily! I always run ln -s '/usr/bin/$EDITOR' $(which $EDITOR) after a fresh install, so I have a valid executable on the path called $EDITOR. Of course, then I have to make sure to add export EDITOR=\$EDITOR to my .bashrc. (Obviously.)
minus-square@[email protected]linkfedilink1•10 months agoWell,.that’s one way to solve the problem of not expanding your editor var correctly…
Not necessarily! I always run
ln -s '/usr/bin/$EDITOR' $(which $EDITOR)
after a fresh install, so I have a valid executable on the path called$EDITOR
.Of course, then I have to make sure to add
export EDITOR=\$EDITOR
to my.bashrc
. (Obviously.)Well,.that’s one way to solve the problem of not expanding your editor var correctly…