mirror of
https://github.com/JanJastrow/.dotfiles.git
synced 2024-11-22 10:39:57 +01:00
Added custom prompt design
This commit is contained in:
parent
f17aab5afd
commit
aeabe170e1
8
zshrc
8
zshrc
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user