Skip to content

Commit

Permalink
Github feature request #1 from Benuuu
Browse files Browse the repository at this point in the history
- Echo our command when it is selected in bash.
- Not necessary for zsh since zsh allows us to print right out to the command
  line.
  • Loading branch information
rcaloras committed Nov 27, 2014
1 parent 5474317 commit e395bfa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bashhub/shell/bashhub.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ bh()
local command=$(head -n 1 $BH_HOME_DIRECTORY/response.bh)
rm $BH_HOME_DIRECTORY/response.bh
history -s "$command"
echo "$command"
eval "$command"
fi;
}

0 comments on commit e395bfa

Please sign in to comment.