diff options
-rw-r--r-- | .config/starship.toml | 42 | ||||
-rw-r--r-- | .zshrc | 4 |
2 files changed, 44 insertions, 2 deletions
diff --git a/.config/starship.toml b/.config/starship.toml new file mode 100644 index 0000000..ad0b0d2 --- /dev/null +++ b/.config/starship.toml @@ -0,0 +1,42 @@ +scan_timeout = 5 + +format = """ +($all +)\ +$username@$hostname: $directory $fill $time +$character +""" +right_format = "$status( $cmd_duration)" + +[cmd_duration] +format = 'took [$duration]($style)' + +[directory] +truncation_length = 16 +truncate_to_repo = false + +[fill] +symbol = ' ' + +[hostname] +ssh_only = false +format = '[$ssh_symbol$hostname]($style)' + +[nix_shell] +symbol = '❄️ ' + +[status] +disabled = false +format = '[$symbol$status]($style)' + +[time] +disabled = false +format = '[$time]($style)' + +[username] +disabled = false +show_always = true +format = '[$user]($style)' + +[line_break] +disabled = true @@ -1,7 +1,5 @@ export ZSH="$HOME/.config/zsh/ohmyzsh" -ZSH_THEME="random" - CASE_SENSITIVE="true" HYPHEN_INSENSITIVE="true" @@ -24,3 +22,5 @@ export NNN_PLUG='n:nuke;p:addtoplaylist' export GRIM_DEFAULT_DIR=~/Images/Screenshots export PATH=$PATH:~/bin + +eval "$(starship init zsh)" |