starship config (for nushell)

This commit is contained in:
Noah Masur 2020-07-19 19:47:46 -04:00
parent 62b1383dce
commit 58dd5371b1
2 changed files with 20 additions and 0 deletions

16
nushell/starship.toml Normal file
View 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 = ""

View File

@ -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 ✓"
}