make cool prompt
This commit is contained in:
parent
896a267309
commit
42885fc910
3 changed files with 12 additions and 2 deletions
|
@ -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 ""
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
7
functions/fish_right_prompt.fish
Normal file
7
functions/fish_right_prompt.fish
Normal 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
|
Loading…
Reference in a new issue