Awesome
<img src="https://cdn.rawgit.com/oh-my-fish/oh-my-fish/e4f1c2e0219a17e2c748b824004c8d0b38055c16/docs/logo.svg" align="left" width="144px" height="144px"/>touchrunner
<br/>Run tasks from the touchbar
Installing
$ omf install touchrunner
What will you get
Requirements
- Have Oh My Fish installed. For more information, check here.
- Be using iTerm2, for Touch Bar support.
Usage
- Edit the Touch Bar (View -> Customize Touch Bar) to have only "Function keys" block.
- Enter a directory with a
package.json
and the tasks will appear at the touch bar. - Exitting the directory makes the Touch Bar be restored to function keys.
Configuration
By default touchrunner will use npm run
. If you want to switch the task
runner, you can override via touchrunner_command
global variable, eg.:
set -g touchrunner_command yarn