My wife was unimpressed by VimLinearArray@programming.dev to Programmer Humor@programming.dev – 935 points – 8 months ago174Post a CommentPreviewYou are viewing a single commentView all commentsShow the parent commentBased 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 whenPut backticks around the entire case statement, and you can.
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 whenPut 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 whenPut backticks around the entire case statement, and you can.
Based nano user
From my .zshrc (typing this on mobile so cope if it's wrong)
I guess shell languages can't do this:
That would be too smart. Smells like kotlin's when
Put backticks around the entire case statement, and you can.