My fish config

This commit is contained in:
2024-09-18 21:32:11 -03:00
commit 755ddf5f2f
107 changed files with 1808 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
function fish_prompt
if test -n "$SSH_TTY"
echo -n (set_color brred)"$USER"(set_color white)'@'(set_color yellow)(prompt_hostname)' '
end
set_color -o
echo -n (set_color red)''(set_color green)''(set_color yellow)' '
if fish_is_root_user
echo -n (set_color red)'# '
else
echo -n (set_color yellow)' '
end
echo -n (set_color bryellow)$(prompt_pwd)' '
set_color normal
end