diff options
author | Case Duckworth | 2024-06-06 23:33:16 -0500 |
---|---|---|
committer | Case Duckworth | 2024-06-06 23:33:16 -0500 |
commit | 8e39809c39ef925dc8e91272b84864641164faa8 (patch) | |
tree | 3765bab3113ab39d63543f0bb2a8a15eae7b780f | |
parent | Add brianna theme! (diff) | |
download | dots-8e39809c39ef925dc8e91272b84864641164faa8.tar.gz dots-8e39809c39ef925dc8e91272b84864641164faa8.zip |
Change prompt
-rw-r--r-- | shrc | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/shrc b/shrc index 8b23731..8e70784 100644 --- a/shrc +++ b/shrc | |||
@@ -6,12 +6,6 @@ case $- in # only do these things in interactive shells | |||
6 | esac | 6 | esac |
7 | 7 | ||
8 | # Prompt | 8 | # Prompt |
9 | # smileycode() { | ||
10 | # case $? in | ||
11 | # (0) printf '\e[32m%s\e[0m' '^_^' ;; | ||
12 | # (*) printf '\e[31m%s\e[0m' ';_;' ;; | ||
13 | # esac | ||
14 | # } | ||
15 | 9 | ||
16 | ecdollar() { | 10 | ecdollar() { |
17 | case $? in | 11 | case $? in |
@@ -30,7 +24,8 @@ case "$0" in | |||
30 | PS1+=$'\1\e[34m\1$(pwd_tilde)\1\e[0m\1 ' | 24 | PS1+=$'\1\e[34m\1$(pwd_tilde)\1\e[0m\1 ' |
31 | PS1+=$'$ ' | 25 | PS1+=$'$ ' |
32 | ;; | 26 | ;; |
33 | *) PS1='$(ecdollar)\$ \[\e[4m\]\w\[\e[0m\] > ' | 27 | *bash) PS1='$(ecdollar)\$ \[\e[4m\]\w\[\e[0m\] > ' |
28 | PS1='\[\e[1m\]($(ecdollar) \w )\[\e[0m\] ' | ||
34 | ;; | 29 | ;; |
35 | esac | 30 | esac |
36 | 31 | ||