zsh
gitのブランチ名が表示される研究室サーバの設定を中心に、他のサイトに載ってたのも参考にしつつ一生懸命書きました。こんな感じ。 autoload colors colors function precmd() { PROMPT=" %{${fg[yellow]}%}%~%{${reset_color}%}" st=`git status 2>/dev/nu…
gitのブランチ名が表示される研究室サーバの設定を中心に、他のサイトに載ってたのも参考にしつつ一生懸命書きました。こんな感じ。 autoload colors colors function precmd() { PROMPT=" %{${fg[yellow]}%}%~%{${reset_color}%}" st=`git status 2>/dev/nu…