add support for dumb prompt so that emacs-tramp can work.
This commit is contained in:
Submodule dotfiles/emacs.d updated: 7be8a99428...3464b795ad
@@ -130,7 +130,13 @@ export JOB_COUNT_COLOR="$fg[blue]"
|
|||||||
|
|
||||||
prompt_tomorrow_colors
|
prompt_tomorrow_colors
|
||||||
# For reasons which are currently beyond me,
|
# For reasons which are currently beyond me,
|
||||||
PROMPT='⚡ % $(print_with_color "%n" "$USERNAME_COLOR") $(separator "at") $(print_with_color "`hostname -s`" "$HOSTNAME_COLOR") $(separator "in") $(print_with_color "`current_directory`" "$CURRENT_DIRECTORY_COLOR")$(git_prompt_info)
|
export PROMPT='⚡ % $(print_with_color "%n" "$USERNAME_COLOR") $(separator "at") $(print_with_color "`hostname -s`" "$HOSTNAME_COLOR") $(separator "in") $(print_with_color "`current_directory`" "$CURRENT_DIRECTORY_COLOR")$(git_prompt_info)
|
||||||
$(colored_job_count)%(?.$(print_with_color "$(command_line_character) ❯" $PROMPT_CHAR_SUCCESS).$(print_with_color "$(command_line_character) ❯" $PROMPT_CHAR_ERROR)) '
|
$(colored_job_count)%(?.$(print_with_color "$(command_line_character) ❯" $PROMPT_CHAR_SUCCESS).$(print_with_color "$(command_line_character) ❯" $PROMPT_CHAR_ERROR)) '
|
||||||
|
|
||||||
PS2='(%_) '
|
PS2='(%_) '
|
||||||
|
|
||||||
|
case "$TERM" in
|
||||||
|
dumb)
|
||||||
|
export PROMPT='> '
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
Reference in New Issue
Block a user