zsh + fzf stuff

This commit is contained in:
francois
2025-11-23 08:56:34 +01:00
parent 300b58b88d
commit 12ba6c674a
2 changed files with 9 additions and 6 deletions

View File

@@ -7,10 +7,6 @@
#promptinit
#prompt adam1
# man opt
export MANPAGER="sh -c 'col -bx | batcat --language=man --plain'"
export MANROFFOPT="-c"
setopt histignorealldups sharehistory
# Use emacs keybindings even if our EDITOR is set to vi
@@ -41,7 +37,7 @@ zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#)*=0=01;31'
zstyle ':completion:*:kill:*' command 'ps -u $USER -o pid,%cpu,tty,cputime,cmd'
# colored GCC warnings and errors
#export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
# main opts
setopt append_history inc_append_history share_history
@@ -63,7 +59,7 @@ HISTSIZE=1000
SAVEHIST=1000
# fzf setup
#source <(fzf --zsh) # allow for fzf history widget
source <(fzf --zsh) # allow for fzf history widget
# set up prompt
NEWLINE=$'\n'