diff options
author | self <self@sateoki.xyz> | 2022-03-07 22:11:41 +0000 |
---|---|---|
committer | self <self@sateoki.xyz> | 2022-03-07 22:11:41 +0000 |
commit | 4dd5992b3b42cf049f6c62a5b786bbe13b729124 (patch) | |
tree | 3714c4ef8b3fa81cf9734fa89d424a406626531e /zsh/.zshrc | |
parent | e7d58b407b9385f8593e1e53743d932451494258 (diff) |
Tidied up zshrc
Diffstat (limited to 'zsh/.zshrc')
-rw-r--r-- | zsh/.zshrc | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -38,6 +38,7 @@ alias newsboat="newsboat -u ~/.config/newsboat/urls" # Changing Default Prompt # PS1='[%F{#ff0000}%n%f %F{#6a0dad}%1d%f] ' # PS1='[%F{#1111ee}%1d%f] => ' +# PS1="%? | [%F{#ff0000}%n%f] [$(vcs_info_wrapper)] %2~ %# " # Creates a git prompt git_branch_test_color() { local ref=$(git symbolic-ref --short HEAD 2> /dev/null) @@ -53,13 +54,9 @@ git_branch_test_color() { fi } setopt PROMPT_SUBST -# PS1="%? | [%F{#ff0000}%n%f] [$(vcs_info_wrapper)] %2~ %# " PROMPT='%9c$(git_branch_test_color)%F{none} %# ' RPROMPT='%D{%k:%M:%S}' - -# PROMPT=$PS1 - ########## Aliases / Functions ########## # allow sudo to make use of aliases alias sudo="sudo " |