forked from colonelpanic/dotfiles
add support for dumb prompt so that emacs-tramp can work.
This commit is contained in:
parent
21d65e3e06
commit
98fef909c3
@ -1 +1 @@
|
||||
Subproject commit 7be8a99428ee48633329d84582af0cb0343822f8
|
||||
Subproject commit 3464b795ad4f2d827a17e4fde7666a9da5570c4a
|
@ -130,7 +130,13 @@ export JOB_COUNT_COLOR="$fg[blue]"
|
||||
|
||||
prompt_tomorrow_colors
|
||||
# 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)) '
|
||||
|
||||
PS2='(%_) '
|
||||
|
||||
case "$TERM" in
|
||||
dumb)
|
||||
export PROMPT='> '
|
||||
;;
|
||||
esac
|
||||
|
Loading…
Reference in New Issue
Block a user