diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2017-05-29 15:04:33 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2017-05-29 15:04:33 +0100 |
commit | ed26add138caf11c37df3f5689a11906a2522e07 (patch) | |
tree | 71661a8ed1b048a18e6c10593ec93da048aa794d | |
parent | Setup thefuck (diff) | |
download | util-ed26add138caf11c37df3f5689a11906a2522e07.tar.bz2 util-ed26add138caf11c37df3f5689a11906a2522e07.tar.xz util-ed26add138caf11c37df3f5689a11906a2522e07.zip |
Setup hstr
-rw-r--r-- | bashrc | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -117,3 +117,9 @@ shopt -s no_empty_cmd_completion [ -x /usr/bin/fuck ] && eval $(thefuck --alias) #cd +if [ -x /usr/bin/hh ] ; then + export HH_CONFIG=hicolor,keywords,rawhistory + export PROMPT_COMMAND="history -a; history -n; ${PROMPT_COMMAND}" + if [[ $- =~ .*i.* ]]; then bind '"\C-r": "\C-a hh -- \C-j"'; fi +fi + |