From 2c67b58ba66176a90787008728cb17b7e67b86a0 Mon Sep 17 00:00:00 2001 From: David Tomaschik Date: Tue, 31 Jan 2023 14:13:59 -0800 Subject: [PATCH] Add history aliases --- dotfiles/zshrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dotfiles/zshrc b/dotfiles/zshrc index 45d88fe..576ff6a 100755 --- a/dotfiles/zshrc +++ b/dotfiles/zshrc @@ -133,6 +133,9 @@ if [[ $- == *i* ]] ; then ZSH_AUTOSUGGEST_STRATEGY=(history) source /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh fi + # History + alias fullhist="history 1" + alias longhist="history -1000" fi # End interactive-only block # In case ack is named ack-grep