diff --git a/private_dot_config/zsh/dot_zprofile b/private_dot_config/zsh/dot_zprofile index 394c028..e79b91d 100644 --- a/private_dot_config/zsh/dot_zprofile +++ b/private_dot_config/zsh/dot_zprofile @@ -5,3 +5,10 @@ export EDITOR="nvim" export XDG_CONFIG_HOME="$HOME/.config" export XDG_DATA_HOME="$HOME/.local/share" export XDG_CACHE_HOME="$HOME/.cache" + +#fzf +export FZF_DEFAULT_OPTS="--style default --layout=reverse --height 30% --preview='bat --plain --color=always {}'" +export FZF_CTRL_R_OPTS="--style minimal --info inline --no-sort --no-preview" # separate opts for history widget + +export MANPAGER="sh -c 'col -bx | batcat --language=man --plain'" +export MANROFFOPT="-c" diff --git a/private_dot_config/zsh/dot_zshrc b/private_dot_config/zsh/dot_zshrc index 60a4c99..f14de3f 100644 --- a/private_dot_config/zsh/dot_zshrc +++ b/private_dot_config/zsh/dot_zshrc @@ -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'