Shell PS1
export PS1='\h:\W \u '
git相关的,展示到最根目录的git
\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]$(branch=$(git branch 2>/dev/null)||exit;a=$(echo "$branch"|grep -P "\\*"|cut -d" " -f2);if [[ -n $a ]];then echo " ($a)";fi)\n\$
IDEA Show in Explorer/Show in Finder
Ctrl + K, Ctrl + E