diff options
author | 2025-01-31 17:43:35 +0000 | |
---|---|---|
committer | 2025-01-31 17:56:10 +0000 | |
commit | b9ba548966019ba77cfa7c1d4020cc746a6d1ca3 (patch) | |
tree | a6d9cb20dd685060d50371afb41416637273bd7c /home/.config | |
parent | 0cfc5026b32160501f7d13b668c397a3ddb3df12 (diff) | |
download | dotfiles-b9ba548966019ba77cfa7c1d4020cc746a6d1ca3.tar.gz dotfiles-b9ba548966019ba77cfa7c1d4020cc746a6d1ca3.tar.bz2 dotfiles-b9ba548966019ba77cfa7c1d4020cc746a6d1ca3.zip |
[zsh] Enable colors earlier
Diffstat (limited to 'home/.config')
-rw-r--r-- | home/.config/zsh/.zshrc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/home/.config/zsh/.zshrc b/home/.config/zsh/.zshrc index 58eb576..614e7f0 100644 --- a/home/.config/zsh/.zshrc +++ b/home/.config/zsh/.zshrc @@ -6,13 +6,14 @@ case $- in esac ttyctl -f +# Enable colors and change prompt: +autoload -U colors + # shellcheck source=/dev/null [ -r ~/.config/sh/shinit ] && . ~/.config/sh/shinit safesource /usr/share/git/completion/git-prompt.sh -# Enable colors and change prompt: -autoload -U colors colors setopt PROMPT_SUBST PROMPT='%B%{$fg[green]%}%n%{$reset_color%}@%{$fg[cyan]%}%m%{$reset_color%}:%b%{$fg[yellow]%}%~%{$reset_color%}$(__git_ps1 " (%s)")%(?..[%{$fg[red]%}%?%{$reset_color%}]) %(!.#.>) ' |