Directory trackng inside fish & ansi-term

This commit is contained in:
John Doty 2021-03-09 06:18:45 -08:00
parent 6d7be2f63b
commit d348dff2a5

View file

@ -14,16 +14,20 @@ if status --is-login
end end
end end
function fish_title if [ -n "$INSIDE_EMACS" ]
true
end
# This is here to make emacs and ansi-term work properly; I'm not *quite* # This is here to make emacs and ansi-term work properly; I'm not *quite*
# sure what it does but it's probably cool. # sure what it does but it's probably cool.
function fish_title function fish_title
true true
end end
# emacs dir tracking
function prompt_AnSiT -e fish_prompt
printf "\eAnSiTc %s\n" "$PWD"
end
printf "\eAnSiTu %s\n" "$USER"
end
# export EDITOR=ec # export EDITOR=ec
# export VISUAL=ec # export VISUAL=ec