Hi David
Thanks a lot.
Seems, that my mac is somehow broken. The following returns nothing here.
mdfind 'kMDItemKind==Application'
I don't get, how that can be…
Well, anyway, thanks. Gotta go and fix my mac – if only I knew, what's
broken :)
Cheers,
Alexander
Am Do., 17. Mai 2018 um 14:04 Uhr schrieb David Guyot <
david.gu...@europecamions-interactive.com>:
> Hello.
>
> It seems that fish has this completion since dec 2015; see https://gith
> ub.com/fish-shell/fish-shell/blob/master/share/completions/open.fish
>
> Regards.
>
> Le jeudi 17 mai 2018 à 10:07 +0200, Alexander Skwar a écrit :
> > 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
> --
> David Guyot
> Administrateur système / Sysadmin
> Europe Camions Interactive / Stockway
> Moulin Collot F-88500 Ambacourt
> Tél : +33 (0)3 29 30 47
> 85------------------------------------------------------------------------------
> 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
> Fish-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fish-users
>
--
Alexander
--
=> *Google+* => http://plus.skwar.me <==
=> *Chat* (Jabber/Google Talk) => a.sk...@gmail.com <==
------------------------------------------------------------------------------
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
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users