PS1 Prompt Style Script. function parse_git_branch {. ref=$(git symbolic-ref HEAD 2> /dev/null) || return. echo " ("${ref#refs/heads/}")".
確定! 回上一頁