Use starship for prompt
Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
parent
49b5ad585a
commit
5ddf2c8fb7
2 changed files with 45 additions and 15 deletions
28
system/.config/starship/config.toml
Normal file
28
system/.config/starship/config.toml
Normal file
|
@ -0,0 +1,28 @@
|
|||
# Don't print a new line at the start of the prompt
|
||||
add_newline = false
|
||||
prompt_order = [
|
||||
"time",
|
||||
"directory",
|
||||
"git_branch",
|
||||
"line_break",
|
||||
"character"
|
||||
]
|
||||
|
||||
# Replace the "❯" symbol in the prompt with "➜"
|
||||
[character] # The name of the module we are configuring is "character"
|
||||
symbol = "➜" # The "symbol" segment is being set to "➜"
|
||||
|
||||
[directory]
|
||||
truncate_to_repo = false
|
||||
|
||||
[hostname]
|
||||
ssh_only = false
|
||||
|
||||
[time]
|
||||
disabled = false
|
||||
|
||||
[username]
|
||||
show_always = true
|
||||
|
||||
[git_branch]
|
||||
symbol = ""
|
Loading…
Add table
Add a link
Reference in a new issue