fish: initial commit
This commit is contained in:
11
.config/fish/functions/fish_prompt.fish
Normal file
11
.config/fish/functions/fish_prompt.fish
Normal file
@@ -0,0 +1,11 @@
|
||||
function fish_prompt
|
||||
set test $status
|
||||
set_color -o green
|
||||
echo -n (hostname)
|
||||
set_color normal
|
||||
echo -n ':'
|
||||
set_color -o blue
|
||||
prompt_pwd | tr -d '\n'
|
||||
set_color normal
|
||||
echo -n " $test\$ "
|
||||
end
|
||||
Reference in New Issue
Block a user