about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2024-06-06 23:33:16 -0500
committerCase Duckworth2024-06-06 23:33:16 -0500
commit8e39809c39ef925dc8e91272b84864641164faa8 (patch)
tree3765bab3113ab39d63543f0bb2a8a15eae7b780f
parentAdd brianna theme! (diff)
downloaddots-8e39809c39ef925dc8e91272b84864641164faa8.tar.gz
dots-8e39809c39ef925dc8e91272b84864641164faa8.zip
Change prompt
-rw-r--r--shrc9
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
6esac 6esac
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
16ecdollar() { 10ecdollar() {
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 ;;
35esac 30esac
36 31