Skip to content

Commit c0ed270

Browse files
committed
fix: prompt char and alias
close #18
1 parent 0588165 commit c0ed270

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

files/home/.aliases

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ alias dots='cd $DOTFILES'
33
alias j='z'
44
alias reload='source ~/.zshrc'
55
alias zen='curl -s https://api.github.com/zen && echo'
6+
alias la='ls -la'

files/home/.zshrc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,9 @@ _dots_build_prompt() {
3333
local dir_section="%{$fg_bold[blue]%}%~"
3434
final_prompt+="$dir_section "
3535

36-
local prompt_char="%{$reset_color%}%%"
37-
final_prompt+="$prompt_char "
36+
local prompt_char=""
37+
local prompt_suffix="%{$reset_color%}%${prompt_char}%{$reset_color%}"
38+
final_prompt+="$prompt_suffix "
3839

3940
PROMPT="$final_prompt"
4041
}

0 commit comments

Comments
 (0)