Added custom prompt design

This commit is contained in:
Jan Jastrow 2022-02-14 21:43:08 +01:00
parent f17aab5afd
commit aeabe170e1

8
zshrc
View File

@ -5,8 +5,8 @@
autoload -Uz promptinit && promptinit autoload -Uz promptinit && promptinit
autoload -U compinit && compinit autoload -U compinit && compinit
# Default prompt design (color) # Prompt color
prompt fade red prompt_color="#ffaf00"
# Load zsh settings # Load zsh settings
source $HOME/.dotfiles/zsh/settings source $HOME/.dotfiles/zsh/settings
@ -35,6 +35,10 @@ source $HOME/.dotfiles/zsh/scripts
source $HOME/.dotfiles/zsh/ffmpeg source $HOME/.dotfiles/zsh/ffmpeg
source $HOME/.dotfiles/zsh/device-specific source $HOME/.dotfiles/zsh/device-specific
# Prompt design
prompt="%F{#ffffff}%K{$prompt_color} ▓▒░%F%B%n@%m%b%F{$prompt_color}%K{#000000}█▓▒░%F{#ffffff}%K{#000000}%B %D{%Y-%m-%d} %D{%k:%M:%S}
%}%F{$prompt_color}%K{#000000}%B%~/%b%k%f "
# Load private information from second repo # Load private information from second repo
if [[ -d $HOME/.jan ]]; then if [[ -d $HOME/.jan ]]; then
source $HOME/.jan/credentials source $HOME/.jan/credentials