counsel-osx-app icon indicating copy to clipboard operation
counsel-osx-app copied to clipboard

Launch OSX applications via ivy interface

  • counsel-osx-app

[[https://github.com/syl20bnr/spacemacs][file:https://cdn.rawgit.com/syl20bnr/spacemacs/442d025779da2f62fc86c2082703697714db6514/assets/spacemacs-badge.svg]]

This package provides ~counsel-osx-app~ function which is inspired by ~counsel-linux-app~.

In order to use ~counsel-osx-app~ simply call ~counsel-osx-app~ function. It will allow you to select an app to launch using ivy completion. Optionally one can select any file to edit in selected application via ivy actions.

By default ~counsel-osx-app~ searches for applications in ~/Applications~ directory, but it's configurable via ~counsel-osx-app-location~ variable. It can be either string representing root location for all applications or list of such strings.

The last configurable thing (but not least) is command for launching application. Please refer to ~counsel-osx-app-launch-cmd~ for more information.

Although the name of this package is ~counsel-osx-app~, it's not restricted to OSX only. One can easily tune it to run under Linux (not sure about Windows). Just make sure to configure described variables and change implementation of ~counsel-osx-app-list~ function. PRs are welcome on making this package cross-platform.

  • Change log

** Next release

  • Initial implementation.
  • Use friendlier completion names (thanks to @vermiculus).