2020-02-16 bash - プロンプトを短く 概要 Bashプロンプトの文字列を短くしたい。 サンプルコード プロンプト表示Format > [{user} {dir}]$ {command} .bash_profileに追加。 export PS1='[\u \W]\$ ' コマンドから bash_profile を再読み込み $ source .bash_profile 参考 www.softel.co.jp