Ensure fish config is compatible with Tramp

Ensure that my config.fish does not interfere with Tramp.
This commit is contained in:
William Carroll 2020-03-04 20:04:55 +00:00
parent dec005ea34
commit 4a1523caba

View file

@ -45,6 +45,15 @@
# embraced Emacs workflow or compiled from some high-level language like # embraced Emacs workflow or compiled from some high-level language like
# Elisp. # Elisp.
# Adding this to support tramp.
if test "$TERM" = "dumb"
function fish_prompt
echo "\$ "
end
function fish_right_prompt; end
function fish_greeting; end
function fish_title; end
else
# Remove the default greeting from fish # Remove the default greeting from fish
set fish_greeting "" set fish_greeting ""
@ -241,3 +250,4 @@ alias pirm='p4 citc -d'
alias ppls='g4 listclients | sed \'s/^Client wpcarro://\' | sed \'s/:[0-9]*:citc.*$//g\'' alias ppls='g4 listclients | sed \'s/^Client wpcarro://\' | sed \'s/:[0-9]*:citc.*$//g\''
alias pprm='p4 citc -d -f' # WARNING: This will forcefully delete a CitC client even if contains pending changes. alias pprm='p4 citc -d -f' # WARNING: This will forcefully delete a CitC client even if contains pending changes.
alias aclcheck=/google/data/ro/projects/ganpati/aclcheck alias aclcheck=/google/data/ro/projects/ganpati/aclcheck
end