1
0

zsh: minor fixes
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Konstantin Demin 2024-02-29 00:15:08 +03:00
parent ea774fdd8b
commit 0bb93c3b11
Signed by: krd
GPG Key ID: 1F33CB0BA4731BC6
2 changed files with 4 additions and 3 deletions

View File

@ -10,7 +10,7 @@ dotfiles-git() { (
GIT_DIR="${ZSHU[d_dotfiles]}/repo.git"
GIT_WORK_TREE="${ZSHU[d_zdot]}"
set +a
zsh -i
z-reload
) }
dotfiles-gen-gitignore() {
@ -54,8 +54,9 @@ z-update() {
}
z-reload() {
export ZDOTDIR="${ZSHU[d_zdot]}"
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
}

View File

@ -54,5 +54,5 @@ __z_title_precmd() {
add-zsh-hook precmd __z_title_precmd
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