sack icon indicating copy to clipboard operation
sack copied to clipboard

sag does not honor piped data

Open danielb2 opened this issue 12 years ago • 0 comments

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

danielb2 avatar Apr 23 '13 18:04 danielb2