I'm trying to open specific directories in NC from the shell (and eventually from shell scripts), but when I use e.g.
Code: Select all
open -a "Nimble Commander" $HOME/GitHub
NC only navigates to $HOME and sets the active cursor on the directory ./GitHub, instead of actually opening the latter. Is there a way to do it? If you do it with
Code: Select all
open -a "Nimble Commander" $HOME/GitHub/*
NC will indeed open the $HOME/GitHub, but it will select all files/dirs within it, which is not the intended behavior.
EDIT: Using
Code: Select all
cd $HOME/GitHub && open -a "Nimble Commander" .
doesn't work either.
EDIT2: you could add the --args option to pass further commands to NC, but NC doesn't seem to respond. (?)