瀏覽代碼

bashrc full name

master
Robin Thoni 9 年之前
父節點
當前提交
0978bd1d6b
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      bash/bashrc

+ 2
- 2
bash/bashrc 查看文件

@@ -65,9 +65,9 @@ if [ -n "$force_color_prompt" ]; then
65 65
 fi
66 66
 
67 67
 if [ "$color_prompt" = yes ]; then
68
-  PS1='\[\e[01;31m\]$(_ps1_exit_status)\[\e[0m\]${debian_chroot:+($debian_chroot)}\u@\h:'"\[\e[01;34m\]\w\[\e[0m\]\[\e[01;32m\]"'$(__git_ps1 " [%s]")'"\[\e[0m\]\$ "
68
+  PS1='\[\e[01;31m\]$(_ps1_exit_status)\[\e[0m\]${debian_chroot:+($debian_chroot)}\u@\H:'"\[\e[01;34m\]\w\[\e[0m\]\[\e[01;32m\]"'$(__git_ps1 " [%s]")'"\[\e[0m\]\$ "
69 69
 else
70
-  PS1='$?${debian_chroot:+($debian_chroot)}\u@\h:\w$(__git_ps1)\$ '
70
+  PS1='$?${debian_chroot:+($debian_chroot)}\u@\H:\w$(__git_ps1)\$ '
71 71
 fi
72 72
 unset color_prompt force_color_prompt
73 73
 

Loading…
取消
儲存