Fish customize prompt
This commit is contained in:
parent
5b78cb85af
commit
ba9e536e7c
@ -30,6 +30,21 @@ set fish_color_cancel brred
|
|||||||
# for ranger
|
# for ranger
|
||||||
#set RANGER_LOAD_DEFAULT_RC FALSE
|
#set RANGER_LOAD_DEFAULT_RC FALSE
|
||||||
|
|
||||||
|
# custom prompt
|
||||||
|
function fish_prompt
|
||||||
|
set_color --bold red
|
||||||
|
echo -n (whoami)
|
||||||
|
set_color --bold yellow
|
||||||
|
echo -n "@"
|
||||||
|
set_color normal
|
||||||
|
set_color cyan
|
||||||
|
echo -n (hostname)
|
||||||
|
set_color yellow
|
||||||
|
echo -n ' '(prompt_pwd)
|
||||||
|
set_color normal
|
||||||
|
echo -n '> '
|
||||||
|
end
|
||||||
|
|
||||||
# text editor
|
# text editor
|
||||||
#set EDITOR "/usr/bin/emacs --no-window-system"
|
#set EDITOR "/usr/bin/emacs --no-window-system"
|
||||||
#set VISUAL "/usr/bin/emacs --no-window-system"
|
#set VISUAL "/usr/bin/emacs --no-window-system"
|
||||||
|
Loading…
Reference in New Issue
Block a user