zsh: add starship config - dotfiles - arsenal of config files, ready to be cloned in new (virtual) machines.
HTML git clone git://git.drkhsh.at/dotfiles.git
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
---
DIR commit 33a1201d44c22b2bb29b4bfde1e5ca2effa6f906
DIR parent 18dc2fa19a47cfd0e592660eb2bf850772e054fa
HTML Author: drkhsh <me@drkhsh.at>
Date: Thu, 23 Feb 2023 00:36:04 +0100
zsh: add starship config
Diffstat:
A zsh/.config/starship.toml | 32 +++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+), 0 deletions(-)
---
DIR diff --git a/zsh/.config/starship.toml b/zsh/.config/starship.toml
@@ -0,0 +1,32 @@
+# Which is equivalent to
+format = """
+$username\
+$hostname\
+$directory\
+$git_branch\
+$git_commit\
+$git_state\
+$git_metrics\
+$git_status\
+$docker_context\
+$env_var\
+$sudo\
+$cmd_duration\
+$line_break\
+$jobs\
+$status\
+$os\
+$container\
+$shell\
+$character"""
+
+[hostname]
+ssh_only = false
+ssh_symbol = '🌐'
+
+[username]
+format = '[$user]($style) @'
+
+[character]
+format = '$symbol$symbol$symbol '
+