diff --git a/.starship.toml b/.starship.toml index d35e5ae..1b97729 100644 --- a/.starship.toml +++ b/.starship.toml @@ -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)" diff --git a/.zshrc b/.zshrc index fba3ce1..353ef1f 100644 --- a/.zshrc +++ b/.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" \