Initial commit lol
This commit is contained in:
parent
a2318e586a
commit
ed3d2e8ef8
18 changed files with 375 additions and 0 deletions
13
programs/fish/functions/fish_prompt.fish
Normal file
13
programs/fish/functions/fish_prompt.fish
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
set -l last_command_status $status
|
||||
|
||||
set -l symbol 'τ'
|
||||
|
||||
set -l normal_color (set_color normal)
|
||||
set -l symbol_color (set_color blue -o)
|
||||
set -l error_color (set_color red -o)
|
||||
|
||||
if test $last_command_status -eq 0
|
||||
echo -n -s $symbol_color $symbol " " $normal_color
|
||||
else
|
||||
echo -n -s $error_color $symbol " " $normal_color
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue