LinearArray to Programmer [email protected]English • 10 months agoMy wife was unimpressed by Vimprogramming.devimagemessage-square177fedilinkarrow-up1947arrow-down119
arrow-up1928arrow-down1imageMy wife was unimpressed by Vimprogramming.devLinearArray to Programmer [email protected]English • 10 months agomessage-square177fedilink
minus-square@[email protected]linkfedilink2•10 months agoI guess shell languages can’t do this: export EDITOR=case "$OSTYPE" in linux*) nano ;; freebsd*) ee ;;
minus-square@[email protected]linkfedilink2•edit-210 months agoThat would be too smart. Smells like kotlin’s when
minus-square@SpaceNoodlelink2•10 months agoPut backticks around the entire case statement, and you can.
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.