From 3cf3b8ef6764c9ec44605904217f51f1eba8e6d6 Mon Sep 17 00:00:00 2001 From: xero Date: Mon, 23 Jan 2017 00:13:18 -0500 Subject: zsh updates --- zsh/.zsh/custom-prompt.zsh | 40 ---------------------------------------- 1 file changed, 40 deletions(-) delete mode 100755 zsh/.zsh/custom-prompt.zsh (limited to 'zsh/.zsh/custom-prompt.zsh') diff --git a/zsh/.zsh/custom-prompt.zsh b/zsh/.zsh/custom-prompt.zsh deleted file mode 100755 index 495aa37..0000000 --- a/zsh/.zsh/custom-prompt.zsh +++ /dev/null @@ -1,40 +0,0 @@ -# ██ -# ░██ -# ██████ ██████░██ -# ░░░░██ ██░░░░ ░██████ -# ██ ░░█████ ░██░░░██ -# ██ ░░░░░██░██ ░██ -# ██████ ██████ ░██ ░██ -# ░░░░░░ ░░░░░░ ░░ ░░ -# -# ▓▓▓▓▓▓▓▓▓▓ -# ░▓ author ▓ xero -# ░▓ code ▓ http://code.xero.nu/dotfiles -# ░▓ mirror ▓ http://git.io/.files -# ░▓▓▓▓▓▓▓▓▓▓ -# ░░░░░░░░░░ -# -#█▓▒░ colors for permissions -if [[ "$EUID" -ne "0" ]] -then # if user is not root - USER_LEVEL="%F{cyan}" -else # root! - USER_LEVEL="%F{red}" -fi - -#█▓▒░ allow functions in the prompt -setopt PROMPT_SUBST - -#█▓▒░ autoload zsh functions -fpath=(~/.zsh/functions $fpath) -autoload -U ~/.zsh/functions/*(:t) - -#█▓▒░ enable auto-execution of functions -typeset -ga preexec_functions -typeset -ga precmd_functions -typeset -ga chpwd_functions - -#█▓▒░ prepend git functions needed for prompt -preexec_functions+='preexec_update_git_vars' -precmd_functions+='precmd_update_git_vars' -chpwd_functions+='chpwd_update_git_vars' -- cgit v1.2.1