LinearArray@programming.dev to Programmer Humor@programming.devEnglish · 5 months agoMy wife was unimpressed by Vimprogramming.devimagemessage-square182fedilinkarrow-up1958arrow-down119
arrow-up1939arrow-down1imageMy wife was unimpressed by Vimprogramming.devLinearArray@programming.dev to Programmer Humor@programming.devEnglish · 5 months agomessage-square182fedilink
minus-squarePureTryOut@lemmy.kde.sociallinkfedilinkarrow-up27·5 months agoexport EDITOR=nano. But (neo)vim is amazing so there is no need to do that.
minus-squareSpaceNoodle@lemmy.worldlinkfedilinkarrow-up18arrow-down1·5 months agoI transfer all my files over to a Windows machine and edit them in Notepad
minus-squareryannathans@aussie.zonelinkfedilinkarrow-up4·edit-25 months agoBased nano user From my .zshrc (typing this on mobile so cope if it’s wrong) case "$OSTYPE" in linux*) export EDITOR=nano ;; freebsd*) export EDITOR=ee ;;
minus-squarelil@lemy.lollinkfedilinkarrow-up2·5 months agoI guess shell languages can’t do this: export EDITOR=case "$OSTYPE" in linux*) nano ;; freebsd*) ee ;;
minus-squareryannathans@aussie.zonelinkfedilinkarrow-up3arrow-down1·edit-25 months agoThat would be too smart. Smells like kotlin’s when
minus-squareSpaceNoodle@lemmy.worldlinkfedilinkarrow-up2·5 months agoPut backticks around the entire case statement, and you can.
export EDITOR=nano
.But (neo)vim is amazing so there is no need to do that.
I transfer all my files over to a Windows machine and edit them in Notepad
Based nano user
From my .zshrc (typing this on mobile so cope if it’s wrong)
case "$OSTYPE" in linux*) export EDITOR=nano ;; freebsd*) export EDITOR=ee ;;
I guess shell languages can’t do this:
export EDITOR=case "$OSTYPE" in linux*) nano ;; freebsd*) ee ;;
That would be too smart. Smells like kotlin’s when
Put backticks around the entire case statement, and you can.