diff options
Diffstat (limited to 'functions/history_functions.sh')
-rw-r--r-- | functions/history_functions.sh | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/functions/history_functions.sh b/functions/history_functions.sh deleted file mode 100644 index 5f97884b1018..000000000000 --- a/functions/history_functions.sh +++ /dev/null @@ -1,29 +0,0 @@ -#!/usr/bin/env bash - - -HISTFILE=~/.zsh_history - - -function wh_two_back { - command=$(history | tail -n 2 | head -n 1 | cut -c 8-) - echo -n $command -} - - -function wh_three_back { - command=$(history | tail -n 3 | head -n 1 | cut -c 8-) - echo -n "$command" -} - - -function wh_four_back { - command=$(history | tail -n 4 | head -n 1 | cut -c 8-) - echo -n "$command" -} - - -function wh_five_back { - command=$(history | tail -n 5 | head -n 1 | cut -c 8-) - echo -n "$command" -} - |