[emacs] Fish shell integration

Until it gets added for real
This commit is contained in:
John Doty 2026-03-11 12:49:51 +00:00
parent 23f918c458
commit 389b0142a3
2 changed files with 100 additions and 1 deletions

View file

@ -31,7 +31,11 @@ if test -d /home/linuxbrew/.linuxbrew
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv fish)"
end
if [ -n "$INSIDE_EMACS" ]
if [ -n "$EAT_SHELL_INTEGRATION_DIR" ]
source ~/.config/fish/eat.fish
else if [ -n "$INSIDE_EMACS" ]
# This is here to make emacs and ansi-term work properly; I'm not *quite*
# sure what it does but it's probably cool.
function fish_title