diff options
Diffstat (limited to 'ar')
| -rw-r--r-- | ar/.config/zsh/keymaps.zsh | 2 | ||||
| -rw-r--r-- | ar/.config/zsh/plugins.zsh | 2 | ||||
| -rw-r--r-- | ar/.config/zsh/scripts.zsh | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/ar/.config/zsh/keymaps.zsh b/ar/.config/zsh/keymaps.zsh index b628a41..04048b4 100644 --- a/ar/.config/zsh/keymaps.zsh +++ b/ar/.config/zsh/keymaps.zsh @@ -125,7 +125,7 @@ bindkey '^X^X^U' print-unix-timestamp ### --- VI-MODE --- ### -if [[ -f "${ZPLUGINDIR:-${HOME}/.local/bin/zsh}/zsh-vi-mode/zsh-vi-mode.plugin.zsh" ]]; then +if [[ -f "${ZPLUGINDIR:-${HOME}/.local/share/zsh}/zsh-vi-mode/zsh-vi-mode.plugin.zsh" ]]; then ### --- ZSH-VI-MODE--- ### # config ZVM_INIT_MODE=sourcing diff --git a/ar/.config/zsh/plugins.zsh b/ar/.config/zsh/plugins.zsh index f1ef0a9..4663bf7 100644 --- a/ar/.config/zsh/plugins.zsh +++ b/ar/.config/zsh/plugins.zsh @@ -2,7 +2,7 @@ [[ "$XDG_SCRIPTS_HOME" == "$HOME/.local/bin" ]] || return [[ "$ZDOTDIR" == "$HOME/.config/zsh" ]] || return -[[ "$ZPLUGINDIR" == "$XDG_SCRIPTS_HOME/zsh" ]] || return +[[ "$ZPLUGINDIR" == "$XDG_DATA_HOME/zsh" ]] || return ### --- Plugins --- ### plugins=( diff --git a/ar/.config/zsh/scripts.zsh b/ar/.config/zsh/scripts.zsh index 26e798b..4976e88 100644 --- a/ar/.config/zsh/scripts.zsh +++ b/ar/.config/zsh/scripts.zsh @@ -623,7 +623,7 @@ function pass_qr() { qrencode -o "$1".png -t png -Sv 40 < "$1".pgp; } ########################################################################################### ########################################################################################### ### --- PASTE --- ### -if ls "${ZPLUGINDIR:-${XDG_SCRIPTS_HOME:-${HOME}/.local/bin}/zsh}/zsh-autosuggestions" >/dev/null 2>&1; then +if ls "${ZPLUGINDIR:-${HOME}/.local/share/zsh}/zsh-autosuggestions" >/dev/null 2>&1; then autoload -Uz url-quote-magic function pasteinit() { OLD_SELF_INSERT=${${(s.:.)widgets[self-insert]}[2,3]} |
