From 1521492e942da35d89a171bbba99226df4234b26 Mon Sep 17 00:00:00 2001 From: Felix Pankratz Date: Tue, 6 Jul 2021 08:31:58 +0000 Subject: [PATCH] moar stuffs --- .zshrc | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.zshrc b/.zshrc index 8c711e0..d347eff 100644 --- a/.zshrc +++ b/.zshrc @@ -3,6 +3,8 @@ # autoload -Uz compinit promptinit +autoload -z edit-command-line +zle -N edit-command-line compinit promptinit @@ -12,6 +14,15 @@ prompt fade green # Return Code on right prompt RPS1='[%F{yellow}%?%f]' +# history stuff +HISTFILE=~/.histfile +HISTSIZE=1000 +SAVEHIST=1000 +setopt appendhistory +bindkey -e + + + # thanks to slashbeast for these ones # Fancy cd that can cd into parent directory, if trying to cd into file. # useful with ^F fuzzy searcher. @@ -66,3 +77,4 @@ PS1='%F{green}%B%K{green}█▓▒░%F{white}%K{green}%B%n@%m%b%F{green}%K{blac alias grep='grep --colour=auto' alias ll='ls -alFh' lt () { ls -lt ${1} | head } +EDITOR=vim