fish: get rid of starship, bring custom prompt back
This commit is contained in:
parent
83bcd5952f
commit
f323956d2b
10 changed files with 97 additions and 2 deletions
14
dot_config/fish/functions/fish_prompt.fish
Normal file
14
dot_config/fish/functions/fish_prompt.fish
Normal file
|
@ -0,0 +1,14 @@
|
|||
function fish_prompt
|
||||
set -g prompt_string
|
||||
set -g prev_color
|
||||
fish_prompt.add \[ brblack
|
||||
fish_prompt.user
|
||||
fish_prompt.add (prompt_pwd) blue
|
||||
fish_prompt.kube
|
||||
fish_prompt.git
|
||||
fish_prompt.add \] brblack
|
||||
fish_prompt.bang
|
||||
|
||||
echo $prompt_string
|
||||
set -e prompt_string
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue