This commit is contained in:
parent
ea774fdd8b
commit
0bb93c3b11
@ -10,7 +10,7 @@ dotfiles-git() { (
|
|||||||
GIT_DIR="${ZSHU[d_dotfiles]}/repo.git"
|
GIT_DIR="${ZSHU[d_dotfiles]}/repo.git"
|
||||||
GIT_WORK_TREE="${ZSHU[d_zdot]}"
|
GIT_WORK_TREE="${ZSHU[d_zdot]}"
|
||||||
set +a
|
set +a
|
||||||
zsh -i
|
z-reload
|
||||||
) }
|
) }
|
||||||
|
|
||||||
dotfiles-gen-gitignore() {
|
dotfiles-gen-gitignore() {
|
||||||
@ -54,8 +54,9 @@ z-update() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
z-reload() {
|
z-reload() {
|
||||||
|
export ZDOTDIR="${ZSHU[d_zdot]}"
|
||||||
exec -a "${ZSH_ARGZERO}" "${ZSH_NAME}" "${argv[@]}"
|
exec -a "${ZSH_ARGZERO}" "${ZSH_NAME}" "${argv[@]}"
|
||||||
echo "unable to reload (something went wrong), code $?" 1>&2
|
echo "unable to reload (something went wrong), code $?" >&2
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -54,5 +54,5 @@ __z_title_precmd() {
|
|||||||
add-zsh-hook precmd __z_title_precmd
|
add-zsh-hook precmd __z_title_precmd
|
||||||
|
|
||||||
else
|
else
|
||||||
echo "tab/window title handling is disabled due to missing hook support" 1>&2
|
echo "tab/window title handling is disabled due to missing hook support" >&2
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user