mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-25 11:25:37 +00:00
starship config (for nushell)
This commit is contained in:
parent
62b1383dce
commit
58dd5371b1
16
nushell/starship.toml
Normal file
16
nushell/starship.toml
Normal file
@ -0,0 +1,16 @@
|
||||
# Don't print a new line at the start of the prompt
|
||||
add_newline = false
|
||||
prompt_order = ["directory", "git_branch", "git_status", "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 "➜"
|
||||
symbol = "❯"
|
||||
|
||||
[directory]
|
||||
truncate_to_repo = true
|
||||
truncation_length = 100
|
||||
|
||||
[git_status]
|
||||
prefix = ""
|
||||
suffix = ""
|
@ -23,6 +23,10 @@ setup_symlinks() {
|
||||
rm -rf "$HOME/.config/nvim"
|
||||
ln -s "$DOTS/vim" "$HOME/.config/nvim"
|
||||
|
||||
# Starship
|
||||
rm -rf "$HOME/.config/starship.toml"
|
||||
ln -s "$DOTS/nushell/starship.toml" "$HOME/.config/starship.toml"
|
||||
|
||||
echo "symlinks ✓"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user