7 words
1 minute
Installing Oh My Zsh and Its Plugins on Ubuntu
install zsh
sudo apt install -y zsh git || sudo pacman -S --needed zsh git || sudo yum install zsh git || sudo zypper in zsh git || sudo apk add zsh git;sh -c "$(wget https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)" &&zshinstall theme
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k &&git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions &&git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting &&sed -i 's/ZSH_THEME="robbyrussell"/ZSH_THEME="powerlevel10k\/powerlevel10k"/' ~/.zshrc &&sed -i '/^plugins=(git)$/c\plugins=(\ git\ sudo\ command-not-found\ safe-paste\ vi-mode\ you-should-use\ zsh-bat\ zsh-autosuggestions\ zsh-syntax-highlighting\)' ~/.zshrc &&exitinstall plugins
plugins:
plugins=( git sudo command-not-found safe-paste vi-mode you-should-use zsh-bat zsh-autosuggestions zsh-syntax-highlighting)git clone https://github.com/MichaelAquilina/zsh-you-should-use.git $ZSH_CUSTOM/plugins/you-should-usegit clone https://github.com/fdellwing/zsh-bat.git $ZSH_CUSTOM/plugins/zsh-bat
apt updateapt install batsource ~/.zshrc Share
If this article helped you, please share it with others!
Installing Oh My Zsh and Its Plugins on Ubuntu
https://dreaife.tokyo/en/posts/ubuntu-ohmyzsh-setup/ Some information may be outdated
Auction Platform Built with Nest.js and Angular—with Jest Testing and CI/CD
Angular-Based Animation Showcase Website with Login and Registration (Cognito)
Related Posts Smart
1
Forwarding Network Traffic to a Router via NAT on Ubuntu
Troubleshooting Share an Ubuntu host network with a router by configuring Netplan, static IP, IP forwarding, DHCP, and NAT rules, then verify client connectivity.
2
Missing Semester — Class 01
Study Missing Semester shell notes on commands, paths, permissions, pipes, I/O redirection, root privileges, Bash examples, and exercises.
3
Configure Docker + code-server on Alibaba Cloud to Build an Online IDE
Troubleshooting Build a C/C++ development environment on Alibaba Cloud with Docker, Nginx, and code-server, from mirror setup to compiling and running test code.
4
Errors When Using pandas.to_datetime with Different Date and Time Formats
Troubleshooting Fix pandas.to_datetime errors from mixed date strings with format="mixed", plus a concise example converting inconsistent values to datetime.
5
CSAPP Chapter 1: A Tour of Computer Systems
Study CSAPP Chapter 1 notes tracing a program from bits and compilation through CPU execution, caches, OS abstractions, processes, and virtual memory.
Random Posts Random
1
The First Round of Selection in the New Era
Reflection 2026-04-09
2
EOA Wallet Signature Verification and Related Topics
Exploration 2026-06-10
3
Angular-Based Animation Showcase Website with Login and Registration (Cognito)
Exploration 2024-11-12
4
Getting Started with VS Code Extension Development
Study 2025-03-13
5
CSAPP Chapter 1: A Tour of Computer Systems
Study 2023-01-15





