diff options
author | Karel Kočí <cynerd@email.cz> | 2022-04-04 15:54:26 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2022-04-04 17:54:18 +0200 |
commit | 7e8cc7201949ad75daca5520c57479229711ed31 (patch) | |
tree | 544b15a25f53ba4923eff7e813732ab8ba81a996 /zshrc.d | |
parent | 0cf542815d11b09e411a00267c89180e28623991 (diff) | |
download | shellrc-7e8cc7201949ad75daca5520c57479229711ed31.tar.gz shellrc-7e8cc7201949ad75daca5520c57479229711ed31.tar.bz2 shellrc-7e8cc7201949ad75daca5520c57479229711ed31.zip |
Add flake.nix
Diffstat (limited to 'zshrc.d')
-rw-r--r-- | zshrc.d/prompt | 3 | ||||
-rw-r--r-- | zshrc.d/shellrc | 5 |
2 files changed, 3 insertions, 5 deletions
diff --git a/zshrc.d/prompt b/zshrc.d/prompt index 08e7ad1..72cbf44 100644 --- a/zshrc.d/prompt +++ b/zshrc.d/prompt @@ -1,5 +1,8 @@ # vim: ft=zsh +# Disable default prompt +command -v prompt >/dev/null && prompt off + [ $UID -eq 0 ] && NCOLOR="red" || NCOLOR="green" PROMPT="%(?..%{$fg_bold[yellow]%}EXIT: %? )%{$fg_bold[$NCOLOR]%}%n@%m:%{$fg_bold[blue]%}%1~%{$fg_bold[$NCOLOR]%}%(!.#.$)%{$reset_color%} " diff --git a/zshrc.d/shellrc b/zshrc.d/shellrc deleted file mode 100644 index 049e5fc..0000000 --- a/zshrc.d/shellrc +++ /dev/null @@ -1,5 +0,0 @@ -# vim: ft=zsh - -for sh in /usr/share/shellrc/*; do - [ -r "$sh" ] && . "$sh" -done |