fish: Tabify

master
Pierre Neidhardt 2017-01-16 13:37:50 +01:00
parent 1279fe654c
commit 3d5bdaacb9
1 changed files with 8 additions and 8 deletions

View File

@ -1,14 +1,14 @@
function fish_prompt
set HOST (hostname)
printf "%s%s%s%s%s" (set_color -o)'(' \
(set_color normal) \
(set_color normal) \
(set_color $fish_color_user)$USER \
(set_color normal) \
(set_color -o)@ \
(set_color normal) \
(set_color normal) \
(set_color -o)@ \
(set_color normal) \
(set_color $fish_color_hostname)$HOST \
(set_color normal) \
(set_color -o)'}'
(set_color normal) \
(set_color -o)'}'
## Path
set -l cwd_color $fish_color_cwd
@ -19,8 +19,8 @@ function fish_prompt
printf "%s%s%s%s" \
(set_color -o)'[' \
(set_color -o $cwd_color)$PROMPT_PWD \
(set_color normal) \
(set_color -o)']'
(set_color normal) \
(set_color -o)']'
echo
echo '> '