Hello
To start an application from the command line on macos, there's the
"open" tool (https://ss64.com/osx/open.html). If given a "file", it
starts the default application and loads the file in it, eg.:
open README.md => opens README.md in an editor
open http://lmgtfy.com/ => opens the URL in a browser
open . => shows the current dir in Finder
"open" also has a "-a application" option, to start a specified app
instead. To load the current directory in Visual Studio Code, one
would execute:
open -a "Visual Studio Code" .
With quotes or \ escapes. The "string" after "-a" needs to be, what's
in the /Application folder.
Having to enter the name correctly and completely is annoying. Would
be great, if one could use <tab>-completion there. zsh has this
feature ;)
How can one configure fish shell to have such a feature as well? :)
Thanks,
Alexander
--
=> Google+ => http://plus.skwar.me <==
=> Chat (Jabber/Google Talk) => [email protected] <==
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users