fish: some functions and aliases
This commit is contained in:
parent
077a885d2a
commit
331c9b0e69
24 changed files with 115 additions and 40 deletions
10
cli/.config/fish/functions/fish_prompt.fish
Normal file
10
cli/.config/fish/functions/fish_prompt.fish
Normal file
|
@ -0,0 +1,10 @@
|
|||
function fish_prompt
|
||||
set -g prompt_string
|
||||
set -g prev_color
|
||||
prompt.add blue (pwd)
|
||||
prompt.git
|
||||
prompt.add normal $prompt_bang
|
||||
|
||||
echo $prompt_string
|
||||
set -e prompt_string
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue