Add virtualfish

This commit is contained in:
Colin Powell
2019-05-29 22:01:18 -04:00
parent dc12856294
commit fc6fedab75
2 changed files with 5 additions and 0 deletions

View File

@ -2,5 +2,7 @@ thefuck --alias | source
source ~/.asdf/asdf.fish
set PATH ~/.fzf/bin $PATH
fzf_key_bindings
eval (python -m virtualfish)
#xinput set-prop "SynPS/2 Synaptics TouchPad" "Synaptics ClickPad" 0
#xinput set-prop "SynPS/2 Synaptics TouchPad" "Synaptics Tap Action" 0

View File

@ -181,6 +181,9 @@ function fish_prompt -d "Write out the left prompt of the syl20bnr theme"
set ps_end $ps_end$ps_end
end
# last status give the color of the right arrows at the end of the prompt
if set -q VIRTUAL_ENV
echo -n -s (set_color -b blue white) "[" (basename "$VIRTUAL_ENV") "]" (set_color normal) " "
end
if test $last_status -ne 0
set ps_end $colnormal$colbred$ps_end
else