Compare commits
3 commits
0f2e6884f7
...
30f0f56c4e
Author | SHA1 | Date | |
---|---|---|---|
30f0f56c4e | |||
91175a2b41 | |||
52cda3f34e |
4 changed files with 9 additions and 11 deletions
|
@ -3,5 +3,6 @@
|
||||||
# inherited in the environment so non-login shells need them, and you'll want
|
# inherited in the environment so non-login shells need them, and you'll want
|
||||||
# to call one in a script so non-interactive shells need them.
|
# to call one in a script so non-interactive shells need them.
|
||||||
autoload count
|
autoload count
|
||||||
|
autoload dump
|
||||||
autoload enphp
|
autoload enphp
|
||||||
autoload -Uz zargs zcalc zmv
|
autoload -Uz zargs zcalc zmv
|
||||||
|
|
2
dot-config/zsh/functions/dump
Normal file
2
dot-config/zsh/functions/dump
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
#! zsh
|
||||||
|
print ${(qq)argv}
|
6
dot-config/zsh/interactive/kitty.zsh
Normal file
6
dot-config/zsh/interactive/kitty.zsh
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
if [[ -n $KITTY_INSTALLATION_DIR ]]; then
|
||||||
|
export KITTY_SHELL_INTEGRATION='no-title'
|
||||||
|
autoload -Uz -- $KITTY_INSTALLATION_DIR/shell-integration/zsh/kitty-integration
|
||||||
|
kitty-integration
|
||||||
|
unfunction kitty-integration
|
||||||
|
fi
|
|
@ -10,17 +10,6 @@ if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]
|
||||||
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Optimised compinit taking advantage of zinit's completion handling, as well
|
|
||||||
# as compiling the resulting zcompdump file. Have zinit call this once
|
|
||||||
# everything is loaded using an atload ice.
|
|
||||||
dot-zsh-compinit() {
|
|
||||||
[[ -d $ZINIT[ZCOMPDUMP_PATH] ]] || mkdir -p ${ZINIT[ZCOMPDUMP_PATH]:h}
|
|
||||||
zicompinit || return $?
|
|
||||||
zicdreplay || return $?
|
|
||||||
([[ $ZINIT[ZCOMPDUMP_PATH].zwc -nt $ZINIT[ZCOMPDUMP_PATH] ]] || zcompile $ZINIT[ZCOMPDUMP_PATH]) &!
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
source $ZDOTDIR/plugins.zsh
|
source $ZDOTDIR/plugins.zsh
|
||||||
for f in $ZDOTDIR/interactive/*.zsh(N); source $f
|
for f in $ZDOTDIR/interactive/*.zsh(N); source $f
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue