fix(zsh): make prompt a sourced script

This commit is contained in:
2024-07-29 04:37:48 +02:00
parent 780515cfb0
commit c62c5cd67b
2 changed files with 22 additions and 25 deletions
+1 -4
View File
@@ -28,7 +28,6 @@ setopt INC_APPEND_HISTORY_TIME
# Ref: https://zsh.sourceforge.io/Doc/Release/Parameters.html
path=("${HOME}/.local/bin" "${path[@]}")
fpath=("${_here}/functions" "${fpath[@]}")
export PATH
export MAIL="/var/spool/mail/$USER"
export MAILCHECK=60
@@ -144,9 +143,7 @@ alias ssh='ssh_with_title'
# Prompt #
##########
autoload -Uz promptinit
promptinit
prompt warg
source "${_here}/prompt"
########
# Misc #