Setting up a new MacBook. I like to use pico, so I always remember to add
export EDITOR=nano
alias pico=nano
alias pcio=nano
alias pioc=nano
to my .profile. But I'm still missing something that I used to have, because whenever I launch nano with multiple command-line arguments, instead of opening each file in sequence, it only opens the first filename.
nano x.txt y.txt # edits x.txt and then quits!
This isn't how it behaved on my old machine. What's the fix? (Is there an environment variable to make nano open multiple files?)