diff options
author | tdro <tdro@users.noreply.github.com> | 2019-09-25 22:11:06 -0400 |
---|---|---|
committer | tdro <tdro@users.noreply.github.com> | 2019-09-25 22:11:06 -0400 |
commit | 387bd08eb7c35077757b96f61916e5e7b0da1b95 (patch) | |
tree | 1b86c1e120f6d0759b853b96539221a7cf0b346f /.bashrc | |
parent | 5eb7d7a9db67b4035eebdf707be44ccd738fe829 (diff) | |
download | dotfiles-387bd08eb7c35077757b96f61916e5e7b0da1b95.tar.gz dotfiles-387bd08eb7c35077757b96f61916e5e7b0da1b95.tar.bz2 dotfiles-387bd08eb7c35077757b96f61916e5e7b0da1b95.zip |
.bashrc: Remove lastcmd function
Diffstat (limited to '.bashrc')
-rw-r--r-- | .bashrc | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -52,11 +52,8 @@ shopt -s histappend; # bash history one command per line shopt -s cmdhist; -# get last command for prompt command -lastcmd() { LASTCMD=$(history 1 | cut -c8-); echo -ne "\e]2;$LASTCMD\a\e]1;$LASTCMD\a"; } - # prompt command runs on every command -export PROMPT_COMMAND="history -a; command -v lastcmd > /dev/null 2>&1 && lastcmd" +export PROMPT_COMMAND="history -a;" # ssh agent with keychain alias ssh='eval $(/usr/bin/keychain --eval --agents ssh -Q --quiet ~/.ssh/mobile ~/.ssh/primary) && ssh' |