Guest User

Untitled

a guest
Jul 18th, 2018
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.45 KB | None | 0 0
  1.  
  2. ###  GIT-PROMPT.SH CONFIG
  3. ###
  4. ###    lines commented-out with single '#' are default values
  5. ###    lines commented-out with double '##' are examples
  6. ###
  7. ###    NOTE: this is bash syntax - no spaces around "="
  8.  
  9. ###########################################################
  10.  
  11. # error_bell=off                # sound terminal bell when command return code is not zero. (use setterm to set pitch and duration)
  12. # max_file_list_length=100      # in characters
  13. count_only=on                # off - display file list; on - display file count
  14. # rawhex_len=5                  # length of git rawhex revision id display (use 0 to hide it)
  15.  
  16. ############################################################   MODULES
  17.  
  18. # git_module=on
  19. # svn_module=off
  20. # hg_module=on
  21. # vim_module=on
  22.  
  23.  
  24. ###########################################################   DEFAULT OBJECTS
  25. ###  Default objects are not displayed.  Example:
  26.  
  27. ## default_user=lvv            
  28. ## default_host="ahp"                   # remote host is always shown
  29. ## default_domain="lvvnet"      
  30.  
  31. ###########################################################   Current Working Dir display
  32. #  cwd_cmd='\w'                 # display full path
  33. ## cwd_cmd='\W'                 # display only last dir of path
  34. ## cwd_cmd='cwd_truncate 40'    # display only last N chars of path
  35.  
  36. ###########################################################   ETC
  37.  
  38. #  Some don't like hostname in uppercase
  39. upcase_hostname=off # =off
  40. #  Some don't like long hostname
  41. #  short_hostname=off # =on
  42.  
  43. #  Do not do VCS parsing for listed directories
  44. #  useful for directories for which it is difficult to maintain .gitignore so
  45. #  they are always dirty  (ex: home, /etc) or directory with huge repo (ex: linux src)
  46. ## vcs_ignore_dir_list=" /etc $HOME /usr/src/linux.git "
  47.  
  48. ###########################################################   COLOR
  49.  
  50. ###  directory, exit code, root color
  51.  
  52. #        cols=`tput colors`
  53. #        if [[ -n "$cols" && $cols -ge 8 ]];  then                              #  if terminal supports colors
  54.         #       dir_color=CYAN
  55.         #       rc_color=red
  56.         #       user_id_color=blue
  57.         #       root_id_color=magenta
  58. # else                                          #  B/W terminal
  59.         #       dir_color=bw_bold
  60.         #       rc_color=bw_bold
  61. # fi
  62.  
  63. ### prompt character for root/non-root, default '>' for both
  64. #   prompt_char='>'
  65. #   root_prompt_char='>'
  66. ##  prompt_char='$'
  67. prompt_char='➔➔ '
  68. root_prompt_char='➔➔ '
  69. ##  root_prompt_char='#'
  70.  
  71. #####  Per host color
  72.  
  73. ### Per host color.  If not set, color will be derived from hostname checksum).
  74. ### Variable name is uppercase-short-hostname with appended "_host_color"
  75. ### Example per-host-color config:  
  76.  
  77. ##          TASHA_host_color=cyan
  78. ##             AL_host_color=green
  79. ##            AHP_host_color=white
  80.  
  81.  
  82. #####  VCS (version control system)  state colors
  83.  
  84. #                init_vcs_color=WHITE     # initial
  85. #               clean_vcs_color=blue      # nothing to commit (working directory clean)
  86. #            modified_vcs_color=red       # Changed but not updated:
  87. #               added_vcs_color=green     # Changes to be committed:
  88. #               mixed_vcs_color=yellow    #
  89. #           untracked_vcs_color=BLUE      # Untracked files:
  90. #                  op_vcs_color=MAGENTA
  91. #            detached_vcs_color=RED
  92. #                 hex_vcs_color=BLACK     # git revision id:  bright black (makes gray)
  93.  
  94.  
  95. # :vim:ft=sh ts=8 sw=8 et:
Add Comment
Please, Sign In to add comment