diff --git a/home/user/.config/zsh/accept_line b/home/user/.config/zsh/accept_line index dab5b15..e61f9ea 100644 --- a/home/user/.config/zsh/accept_line +++ b/home/user/.config/zsh/accept_line @@ -3,7 +3,7 @@ export ZCALC_HISTFILE="${HOME}/.zcalc_history" autoload -U zcalc function __calc { - zcalc -f -e "$*" + ZDOTDIR="${HOME}" zcalc -f -e "$*" } aliases[calc]='noglob __calc' aliases[=]='noglob __calc' @@ -22,4 +22,4 @@ function accept-line() { zle -N accept-line -# vim: ft=zsh \ No newline at end of file +# vim: ft=zsh diff --git a/install-hooks/zsh/post-install b/install-hooks/zsh/post-install index be2ec42..bccb276 100755 --- a/install-hooks/zsh/post-install +++ b/install-hooks/zsh/post-install @@ -1,5 +1,6 @@ #!/usr/bin/env zsh + zfiles=( ~/.zshenv ) @@ -10,4 +11,4 @@ for zfile in "${zfiles[@]}" do echo "zcompile ${zfile}" zcompile "${zfile}" -done \ No newline at end of file +done