diff --git a/zsh/.zshenv b/zsh/.zshenv index 99f6bc1..0208806 100644 --- a/zsh/.zshenv +++ b/zsh/.zshenv @@ -112,3 +112,4 @@ export BAT_THEME="Catppuccin" # Automatically remove duplicates from these arrays typeset -gU path cdpath manpath fpath +. "$HOME/.cargo/env" diff --git a/zsh/.zshrc b/zsh/.zshrc index a1ea545..ca8a4be 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -60,6 +60,9 @@ zplug "zsh-users/zsh-syntax-highlighting", defer:2 # Press escape twice to prepend `sudo` to the command line zplug "plugins/sudo", from:oh-my-zsh +# extract archives +zplug "plugins/extract", from:oh-my-zsh + # systemd aliases zplug "plugins/systemd", from:oh-my-zsh diff --git a/zsh/.zshrc.d/bindings.zsh b/zsh/.zshrc.d/bindings.zsh index 430009f..16ddafa 100644 --- a/zsh/.zshrc.d/bindings.zsh +++ b/zsh/.zshrc.d/bindings.zsh @@ -37,12 +37,9 @@ if test -x "${HOME}/bin/tman"; then bindkey '^[m' tman-widget fi -## keybinding for convenient ssh connections +## gumssh if test -x "${HOME}/bin/gumssh"; then - gumssh-widget() { "${HOME}/bin/gumssh" } - zle -N gumssh-widget - - bindkey '^[s' gumssh-widget + bindkey -s '^[s' 'gumssh^M' fi ## history substring search