Compare commits

...

3 Commits

Author SHA1 Message Date
KemoNine 0d6b43d072 remove plugins that spew to stdout 2022-05-19 23:05:59 -04:00
KemoNine 66d2daa0d7 conditionally load tmux zsh plugins 2022-05-19 23:04:29 -04:00
KemoNine d2b847c5ab remove aliases that prefix sudo 2022-05-19 22:56:44 -04:00
1 changed files with 10 additions and 8 deletions

18
zshrc
View File

@ -11,11 +11,13 @@ source ~/.zplug/init.zsh
zplug "zplug/zplug", hook-build:"zplug --self-manage"
zplug "romkatv/powerlevel10k", as:theme, depth:1
zplug "popstas/zsh-command-time"
#zplug "popstas/zsh-command-time"
zplug "zsh-users/zsh-syntax-highlighting", defer:2
zplug "ytakahashi/igit"
zplug "mbenford/zsh-tmux-auto-title"
zplug "MichaelAquilina/zsh-you-should-use"
if [[ -n "${TMUX}" ]]; then
zplug "mbenford/zsh-tmux-auto-title"
fi
#zplug "MichaelAquilina/zsh-you-should-use"
zplug "junegunn/fzf", from:github, as:command, rename-to:fzf, hook-build:"./install --all"
zplug "junegunn/fzf", use:"shell/*.zsh", defer:2
@ -57,9 +59,11 @@ setopt append_history
setopt share_history
# zsh plugin options
ZSH_COMMAND_TIME_MIN_SECONDS=10
ZSH_TMUX_AUTO_TITLE_SHORT=true
ZSH_TMUX_AUTO_TITLE_IDLE_TEXT="%last"
#ZSH_COMMAND_TIME_MIN_SECONDS=10
if [[ -n "${TMUX}" ]]; then
ZSH_TMUX_AUTO_TITLE_SHORT=true
ZSH_TMUX_AUTO_TITLE_IDLE_TEXT="%last"
fi
zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
zstyle ':fzf-tab:complete:cd:*' fzf-preview 'exa -1 --color=always $realpath'
@ -73,8 +77,6 @@ export PATH=~/.local/bin:${PATH}
# aliases (before interactive, just in case)
alias ls="exa"
alias docker="sudo docker"
alias podman="sudo podman"
# dont allow mosh prediction (override in zshrc.local)
export MOSH_PREDICTION_DISPLAY="never"