startship prompt reformat
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
add_newline = true
|
||||
format = """${custom.docker_compose}$git_branch$git_status$character"""
|
||||
right_format = """$username[@](red)$hostname $cmd_duration$time $directory"""
|
||||
add_newline = false
|
||||
format = """$fill${custom.docker_compose}$git_branch$git_status $username[@](red)$hostname $time
|
||||
$character"""
|
||||
right_format = """$cmd_duration$directory"""
|
||||
|
||||
[git_branch]
|
||||
format = "[$branch]($style) "
|
||||
@@ -22,6 +23,7 @@ style = "blue bold"
|
||||
truncation_length = 5
|
||||
truncate_to_repo = false
|
||||
style = "cyan bold"
|
||||
format = "[$path]($style)[$read_only]($read_only_style)"
|
||||
|
||||
[cmd_duration]
|
||||
min_time = 5_000
|
||||
@@ -33,6 +35,9 @@ disabled = false
|
||||
format = "[$time]($style)"
|
||||
style = "green"
|
||||
|
||||
[fill]
|
||||
symbol = " "
|
||||
|
||||
[character]
|
||||
success_symbol = "[➤](green)"
|
||||
error_symbol = "[➤](red)"
|
||||
|
||||
1
.zshrc
1
.zshrc
@@ -84,6 +84,7 @@ zinit light zsh-users/zsh-history-substring-search
|
||||
[[ -n ${key[Up]} ]] && bindkey ${key[Up]} history-substring-search-up
|
||||
[[ -n ${key[Down]} ]] && bindkey ${key[Down]} history-substring-search-down
|
||||
|
||||
ZLE_RPROMPT_INDENT=0
|
||||
# starship prompt
|
||||
export STARSHIP_CONFIG=~/.starship.toml
|
||||
zinit ice as"command" from"gh-r" \
|
||||
|
||||
Reference in New Issue
Block a user