Quantcast
Channel: Unix environment variables with arguments - Super User
Viewing all articles
Browse latest Browse all 3

Unix environment variables with arguments

$
0
0

I'm trying to set my $EDITOR variable to be emacs with no window, so the command to call it would be emacs -nw. However if I set it like this:

export EDITOR="/Applications/Emacs.app/Contents/MacOS/Emacs -nw"

I get the following error

zsh: no such file or directory: /Applications/Emacs.app/Contents/MacOS/Emacs -n


Viewing all articles
Browse latest Browse all 3

Latest Images

Trending Articles





Latest Images