Fish: Fall back to simple prompt for dumb terms
This commit is contained in:
@@ -28,3 +28,14 @@ end
|
|||||||
|
|
||||||
# Hybrid Vi Mode
|
# Hybrid Vi Mode
|
||||||
set -g fish_key_bindings hybrid_bindings
|
set -g fish_key_bindings hybrid_bindings
|
||||||
|
|
||||||
|
# Fix prompt for Emacs TRAMP
|
||||||
|
# https://github.com/oh-my-fish/theme-bobthefish/issues/148
|
||||||
|
if test "$TERM" = "dumb"
|
||||||
|
function fish_prompt
|
||||||
|
echo "\$ "
|
||||||
|
end
|
||||||
|
function fish_right_prompt; end
|
||||||
|
function fish_greeting; end
|
||||||
|
function fish_title; end
|
||||||
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user