make cool prompt

This commit is contained in:
zoe 2022-04-02 20:18:25 +02:00
parent 896a267309
commit 42885fc910
3 changed files with 12 additions and 2 deletions

View File

@ -1,4 +1,7 @@
if status is-interactive
# start vi mode
set -g fish_key_bindings fish_vi_key_bindings
# Set greeting
set fish_greeting ""

View File

@ -1,3 +1,3 @@
function fish_prompt
printf '%s%s%s♥%s%s \n %s%s%s%s%s ' (set_color $fish_color_user) $USER (set_color magenta) (set_color $fish_color_host) $hostname (set_color $fish_color_cwd) (prompt_pwd) (set_color green) (fish_git_prompt) (set_color normal)
function fish_prompt
printf '%s%s%s♥%s %s%s%s%s%s%s '(set_color $fish_color_user) $USER (set_color magenta) (set_color $fish_color_host) $hostname (set_color $fish_color_cwd) (prompt_pwd) (set_color green) (set_color normal)
end

View File

@ -0,0 +1,7 @@
function fish_right_prompt
set -g __fish_git_prompt_show_informative_status
set -g __fish_git_prompt_showupstream informative
set -g __fish_git_prompt_describe_style branch
set -g __fish_git_prompt_showcolorhints
fish_git_prompt
end