From 65590f5427f11776182338aa25606f96f1e0e400 Mon Sep 17 00:00:00 2001 From: BlackNet Dev Date: Thu, 22 Dec 2022 15:12:46 +0100 Subject: [PATCH] Initial Release --- .DS_Store | Bin 0 -> 6148 bytes README.md | 44 ++++++++++++++++++ install.sh | 44 ++++++++++++++++++ starship.toml | 126 ++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 214 insertions(+) create mode 100644 .DS_Store create mode 100644 README.md create mode 100644 install.sh create mode 100644 starship.toml diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..5008ddfcf53c02e82d7eee2e57c38e5672ef89f6 GIT binary patch literal 6148 zcmeH~Jr2S!425mzP>H1@V-^m;4Wg<&0T*E43hX&L&p$$qDprKhvt+--jT7}7np#A3 zem<@ulZcFPQ@L2!n>{z**++&mCkOWA81W14cNZlEfg7;MkzE(HCqgga^y>{tEnwC%0;vJ&^%eQ zLs35+`xjp>T0> ~/.zshrc + +echo "Change Shell to zsh when you want!" +echo "chsh -s $(which zsh)" \ No newline at end of file diff --git a/starship.toml b/starship.toml new file mode 100644 index 0000000..fb6fcc7 --- /dev/null +++ b/starship.toml @@ -0,0 +1,126 @@ +format = """ +$env_var\ +[](fg:white)\ +$username\ +$hostname\ +[](fg:black bg:#6D8DD1)\ +$directory\ +[](fg:#6D8DD1 bg:#47CB6B)\ +$git_branch\ +$git_state\ +$git_status\ +$git_metrics\ +[](fg:#86BBD8 bg:#33658A)\ +$docker_context\ +[](fg:#33658A bg:black)\ +$fill\ +[](fg:#33658A bg:black)\ +$jobs\ +[](fg:yellow bg:#33658A)\ +$cmd_duration\ +[](fg:#47CB6B bg:yellow)\ +$memory_usage\ +[](fg:white bg:#47CB6B)\ +$time\ +[ ](fg:white)\ +$line_break\ +$character""" + +# Disable the blank line at the start of the prompt +# add_newline = false + +[fill] +symbol = " " + +[character] +success_symbol = "[❯](purple)" +error_symbol = "[❯](red)" +vicmd_symbol = "[❮](green)" + +# You can also replace your username with a neat symbol like  to save some space +[username] +show_always = false +style_user = "fg:yellow bg:black" +style_root = "fg:#CE4B4E bg:black" +format = '[ $user]($style)' + +[hostname] +ssh_only = true +ssh_symbol = "" +format = "[@](fg:yellow bg:black)[$hostname](fg:yellow bg:black) [$ssh_symbol ](fg:yellow bg:black)" +trim_at = ".companyname.com" +disabled = false + +[env_var.STARSHIP_DISTRO] +format = '[ $env_value ](fg:black bg:white)' +variable = "STARSHIP_DISTRO" +disabled = false + +[directory] +style = "bg:#6D8DD1" +read_only = " " +format = "[ $path ]($style)" +truncation_length = 3 +truncation_symbol = "…/" + +# Here is how you can shorten some long paths by text replacement +# similar to mapped_locations in Oh My Posh: +[directory.substitutions] +"Documents" = " " +"Downloads" = " " +"Music" = "� " +"Pictures" = " " +"~" = " ~" +# Keep in mind that the order matters. For example: +# "Important Documents" = "  " +# will not be replaced, because "Documents" was already substituted before. +# So either put "Important Documents" before "Documents" or use the substituted version: +# "Important  " = "  " + +[docker_context] +symbol = " " +style = "bg:#06969A" +format = '[ $symbol $context ]($style) $path' + +[git_branch] +symbol = "" +style = "fg:black bg:#47CB6B" +format = '[ $symbol $branch ]($style)' + +[git_status] +style = "fg:black bg:#47CB6B" +format = '[$all_status$ahead_behind]($style)' +ahead = "⇡${count}" +diverged = "⇕⇡${ahead_count}⇣${behind_count}" +behind = "⇣${count}" + +[git_state] +style = "fg:black bg:#47CB6B" +format = '\([$state( $progress_current/$progress_total)]($style)\) ' +#style = "bright-black" + +[git_metrics] +disabled = false + +[cmd_duration] +format = "[ took $duration  ](fg:black bg:yellow)" +style = "gb:yellow" + +[jobs] +symbol = "" +number_threshold = 1 +format = "[ $symbol ](fg:bold red bg:#33658A)" +style = "bg:33658A" + +[memory_usage] +disabled = false +threshold = -1 +symbol = "" +style = "fg:black bg:#47CB6B" +format = "[ ${ram_pct} $symbol ]($style)" + +[time] +disabled = false +time_format = "%R" # Hour:Minute Format +format = '[](fg:white)[ $time  ](fg:black bg:white)' +