File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,5 +12,9 @@ source "$DOTLY_PATH/scripts/core/_main.sh"
1212if [[ $( pwd) == " $HOME " ]]; then
1313 echo " ~"
1414else
15- echo ${${${:-/ ${(j:/: )${(M)${(s:/: )${(D)PWD: h} } # (|.)[^.]} } / ${PWD: t} } // \/ ~/ \~ } / \/\/ / \/ }
15+ current_dir=$( pwd)
16+ penultimate_dir=$( /usr/bin/basename " $( dirname " $current_dir " ) " | cut -c1-2)
17+ path=$( dirname " $( dirname " $current_dir " ) " | sed " s|$HOME |~|g" | sed -E ' s|/([^/])[^/]*|/\1|g' )
18+
19+ echo " $path /$penultimate_dir /$( /usr/bin/basename " $current_dir " ) "
1620fi
Original file line number Diff line number Diff line change @@ -10,8 +10,3 @@ source "$DOTLY_PATH/scripts/core/_main.sh"
1010# #? import [dotfiles_path]
1111# #?
1212docs::parse " $@ "
13-
14- # # .zshrc
15- # # .bash
16- # # .gitconfig
17- # # .gitignore_global
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ prompt_codely_setup() {
7373 fi
7474
7575 if [ " $CODELY_THEME_PROMPT_IN_NEW_LINE " = true ]; then
76- PS1=" ┌ $PS1 " $' \n └➤ '
76+ PS1=" ╭ $PS1 " $' \n %F{white}╰ '
7777 fi
7878
7979 RPS1=' '
You can’t perform that action at this time.
0 commit comments