Ensure fish config is compatible with Tramp
Ensure that my config.fish does not interfere with Tramp.
This commit is contained in:
parent
dec005ea34
commit
4a1523caba
1 changed files with 195 additions and 185 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue