sudo apt update sudo apt install zsh powerline fonts-powerline chsh -s /bin/zsh ログアウト&再度ログインしたらデフォルトシェルがzshになってるはず powerlineはoh-my-zsh:agnosterで必要 oh-my-zshをインストール githubからソースコードをclone zsh confファイルのコピー テーマを変更(ZSH_THEME="robbyrussell"をZSH_THEME="agnoster"に変更) PC名が長いので非表示(prompt_context () { }を.zshrcの末尾に追記) git clone https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh cp ~/.oh-my-zsh/template
![Ubuntuのターミナルを Zsh + oh-my-zsh で使いやすく(備忘録) - Qiita](https://cdn-ak-scissors.b.st-hatena.com/image/square/7d085986fabe41133bcfd3b69b9d8584db144759/height=288;version=1;width=512/https%3A%2F%2Fqiita-user-contents.imgix.net%2Fhttps%253A%252F%252Fcdn.qiita.com%252Fassets%252Fpublic%252Farticle-ogp-background-412672c5f0600ab9a64263b751f1bc81.png%3Fixlib%3Drb-4.0.0%26w%3D1200%26mark64%3DaHR0cHM6Ly9xaWl0YS11c2VyLWNvbnRlbnRzLmltZ2l4Lm5ldC9-dGV4dD9peGxpYj1yYi00LjAuMCZ3PTk3MiZoPTM3OCZ0eHQ9VWJ1bnR1JUUzJTgxJUFFJUUzJTgyJUJGJUUzJTgzJUJDJUUzJTgzJTlGJUUzJTgzJThBJUUzJTgzJUFCJUUzJTgyJTkyJTIwWnNoJTIwJTJCJTIwb2gtbXktenNoJTIwJUUzJTgxJUE3JUU0JUJEJUJGJUUzJTgxJTg0JUUzJTgyJTg0JUUzJTgxJTk5JUUzJTgxJThGJTI4JUU1JTgyJTk5JUU1JUJGJTk4JUU5JThDJUIyJTI5JnR4dC1jb2xvcj0lMjMyMTIxMjEmdHh0LWZvbnQ9SGlyYWdpbm8lMjBTYW5zJTIwVzYmdHh0LXNpemU9NTYmdHh0LWFsaWduPWxlZnQlMkN0b3Amcz01YjY1YzgxMzBiZTliOWRiNzFhNjcwMTg3M2EzMTJhYg%26mark-x%3D142%26mark-y%3D57%26blend64%3DaHR0cHM6Ly9xaWl0YS11c2VyLWNvbnRlbnRzLmltZ2l4Lm5ldC9-dGV4dD9peGxpYj1yYi00LjAuMCZoPTc2Jnc9NzcwJnR4dD0lNDBvcmlrYWl0byZ0eHQtY29sb3I9JTIzMjEyMTIxJnR4dC1mb250PUhpcmFnaW5vJTIwU2FucyUyMFc2JnR4dC1zaXplPTM2JnR4dC1hbGlnbj1sZWZ0JTJDdG9wJnM9MmM4YzBiYTkzNjhlMzY2YjUzZGE4NTI3ZmE5NzA3OTE%26blend-x%3D142%26blend-y%3D486%26blend-mode%3Dnormal%26s%3Df8e80eeb407dda199440a03ab302c79e)