Compare commits

...

3 Commits

Author SHA1 Message Date
Jan Jastrow
7d89837c10 Added seperate variable 2022-02-14 22:11:07 +01:00
Jan Jastrow
2f97a439c7 Fixed color 2022-02-14 22:06:38 +01:00
Jan Jastrow
aeabe170e1 Added custom prompt design 2022-02-14 21:43:08 +01:00

9
zshrc
View File

@ -5,8 +5,9 @@
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_color1="#ffaf00"
primpt_color2="#000000"
# Load zsh settings # Load zsh settings
source $HOME/.dotfiles/zsh/settings source $HOME/.dotfiles/zsh/settings
@ -35,6 +36,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{$prompt_color2}%K{$prompt_color1} ▓▒░%F%B%n@%m%b%F{$prompt_color1}%K{$prompt_color2}█▓▒░%F{#ffffff}%K{$prompt_color2}%B %D{%Y-%m-%d} %D{%k:%M:%S}
%}%F{$prompt_color1}%K{$prompt_color2}%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