updates
This commit is contained in:
parent
025d14ee2e
commit
5ae1c1fe3b
3 changed files with 13 additions and 3 deletions
|
|
@ -38,6 +38,8 @@ bindkey -v
|
||||||
# make file name completion case-insensitive
|
# make file name completion case-insensitive
|
||||||
zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}'
|
zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}'
|
||||||
zstyle ':completion:*' cache-path $XDG_CACHE_HOME/zsh/zcompcache
|
zstyle ':completion:*' cache-path $XDG_CACHE_HOME/zsh/zcompcache
|
||||||
|
zstyle ':completion:*' list-colors "${(s.:.)LS_COLORS}"
|
||||||
|
zstyle ':completion:*' menu no
|
||||||
zstyle 'fzf-tab:complete:cd:*' fzf-preview `ls $realpath`
|
zstyle 'fzf-tab:complete:cd:*' fzf-preview `ls $realpath`
|
||||||
zstyle 'fzf-tab:complete:__zoxide_z:*' fzf-preview `ls $realpath`
|
zstyle 'fzf-tab:complete:__zoxide_z:*' fzf-preview `ls $realpath`
|
||||||
|
|
||||||
|
|
@ -142,7 +144,16 @@ fi
|
||||||
# if checkCommand direnv; then
|
# if checkCommand direnv; then
|
||||||
# eval "$(direnv hook zsh)"
|
# eval "$(direnv hook zsh)"
|
||||||
# fi
|
# fi
|
||||||
|
if checkCommand yazi; then
|
||||||
|
function yy() {
|
||||||
|
local tmp="$(mktemp -t "yazi-cwd.XXXXXX")"
|
||||||
|
yazi "$@" --cwd-file="$tmp"
|
||||||
|
if cwd="$(cat -- "$tmp")" && [ -n "$cwd" ] && [ "$cwd" != "$PWD" ]; then
|
||||||
|
cd -- "$cwd"
|
||||||
|
fi
|
||||||
|
rm -f -- "$tmp"
|
||||||
|
}
|
||||||
|
fi
|
||||||
if checkCommand mirafetch; then
|
if checkCommand mirafetch; then
|
||||||
RUST_BACKTRACE=1 mirafetch
|
RUST_BACKTRACE=1 mirafetch
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
Subproject commit e3a99eb8f20c358f8376579594c0ebbf62c1db55
|
Subproject commit ba85f279ae5f90d9eb3c1ba250a6849e8365fe0d
|
||||||
|
|
@ -39,7 +39,6 @@ apply = ["defer-more"]
|
||||||
|
|
||||||
[plugins.fzf-tab]
|
[plugins.fzf-tab]
|
||||||
github = 'Aloxaf/fzf-tab'
|
github = 'Aloxaf/fzf-tab'
|
||||||
apply = ["defer"]
|
|
||||||
|
|
||||||
# [plugins.zsh-cargo-completion]
|
# [plugins.zsh-cargo-completion]
|
||||||
# github = 'MenkeTechnologies/zsh-cargo-completion'
|
# github = 'MenkeTechnologies/zsh-cargo-completion'
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue