1
0
mirror of https://github.com/kmein/niveum synced 2026-03-20 03:51:07 +01:00

xautolock: fick locker script

This commit is contained in:
Kierán Meinhardt
2019-06-17 19:10:42 +02:00
parent 8f7953e598
commit da297039cd
4 changed files with 18 additions and 8 deletions

View File

@@ -62,7 +62,7 @@
bindkey -M vicmd 'k' history-substring-search-up
bindkey -M vicmd 'j' history-substring-search-down
'';
promptInit = ''
promptInit = with config.niveum; ''
autoload -Uz vcs_info
zstyle ':vcs_info:*' enable git
zstyle ':vcs_info:*' check-for-changes true
@@ -76,9 +76,9 @@
vcs_info
RPROMPT="$vcs_info_msg_0_"
if [[ -n $IN_NIX_SHELL ]]; then
PROMPT='%B%~%b %(?.%F{green}.%F{red})λ%f '
PROMPT='%B%~%b %(?.%F{${promptColours.success}}.%F{${promptColours.failure}})λ%f '
else
PROMPT='%B%~%b %(?.%F{green}.%F{red})%#%f '
PROMPT='%B%~%b %(?.%F{${promptColours.success}}.%F{${promptColours.failure}})%#%f '
fi
}