sack
sack copied to clipboard
sag does not honor piped data
Using ag:
ag shortcut | ag create
sack:150:create_shortcut_cmd() {
sack:556:create_shortcut_cmd
using sack
$ sag shortcut | sag create
sack__option is: -ag
============> running ag! <============
===> Current Profile: no_profile
===> Using flags:
===> Searching under: /Users/daniel/tmp/sack
===> Searching parameters: create
/Users/daniel/tmp/sack/install_sack.sh
[1] # If the install directory doesn't exist, create it
/Users/daniel/tmp/sack/sack
[2] create_shortcut_cmd() {
[3] echo "To create a new profile, do:"
[4] create_shortcut_cmd
Note that result [3] does not contain the word shortcut