Fix prompt recursive search, ignore some pyrc things

This commit is contained in:
2014-11-13 20:40:06 -08:00
parent 0dfca02bcf
commit e977349bd9
4 changed files with 84 additions and 109 deletions

View File

@@ -116,7 +116,8 @@ function separator {
}
prompt_basic_colors_with_grey_separator
# 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)
$(command_line_character) %(?.$PROMPT_CHAR_SUCCESS.$PROMPT_CHAR_ERROR)%f '
%(?.$(print_with_color "$(command_line_character) " $PROMPT_CHAR_SUCCESS).$(print_with_color "$(command_line_character) " $PROMPT_CHAR_ERROR)) '
PS2='(%_) '

View File

@@ -44,7 +44,7 @@ symbols=no
# --enable=similarities". If you want to run only the classes checker, but have
# no Warning level messages displayed, use"--disable=all --enable=classes
# --disable=W"
disable=C0111,C0103,R0903,R0904
disable=C0111,C0103,R0902,R0903,R0904,W0142,W0613,W0123
[REPORTS]