diff --git a/setup.sh b/setup.sh old mode 100644 new mode 100755 index 9b15155..48f973a --- a/setup.sh +++ b/setup.sh @@ -1,4 +1,4 @@ #!/bin/bash # setup.sh ln -sf ~/.config/nvim/.tmux.conf ~/.tmux.conf - +ln -sf ~/.config/nvim/starship.toml ~/.config/starship.toml diff --git a/starship.toml b/starship.toml new file mode 100644 index 0000000..77efcf4 --- /dev/null +++ b/starship.toml @@ -0,0 +1,38 @@ +# Catppuccin Mocha theme to match nvim +format = """ +[┌─](bold blue)$directory$git_branch$git_status +[└─](bold blue)$character""" + +[character] +success_symbol = "[➜](bold green)" +error_symbol = "[➜](bold red)" + +[directory] +style = "bold cyan" +truncation_length = 3 +truncate_to_repo = true + +[git_branch] +symbol = " " +style = "bold purple" + +[git_status] +style = "bold yellow" +conflicted = "🏳" +ahead = "⇡${count}" +behind = "⇣${count}" +diverged = "⇕⇡${ahead_count}⇣${behind_count}" +untracked = "🤷" +stashed = "📦" +modified = "📝" +staged = '[++\($count\)](green)' +renamed = "👅" +deleted = "🗑" + +[nodejs] +symbol = " " +format = "via [$symbol($version )]($style)" + +[python] +symbol = " " +format = 'via [${symbol}${pyenv_prefix}(${version} )]($style)'