8 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 the 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
cs-base Configure Netplan, enable IP forwarding, and set up NAT to allow Ubuntu to share its network connection with a router. The process includes clearing existing configurations, assigning a static IP address, installing and configuring a DHCP service, and verifying that network sharing works correctly.
2
missing-semester-class01
cs-base Introduces the basic features and usage of the shell, including running programs, navigating paths, managing file permissions, redirecting input and output streams, and administering root privileges. It also provides multiple Bash command examples and exercises to reinforce the material.
3
Configure Docker + code-server on Alibaba Cloud to Build an Online Compiler
cs-base Set up an online compiler by installing Docker and code-server. The process includes installing Docker, configuring an Alibaba Cloud mirror, running Nginx, installing and configuring code-server, and setting up a C/C++ build environment, then successfully running test code.
4
About Errors When Using pandas.to_datetime with Different Time Formats
cs-base When using the pandas to_datetime function, errors may occur if date values use different formats. Setting the format parameter to 'mixed' can solve issues caused by inconsistent formats. Example code shows how to handle invalid date formats and successfully convert values to datetime.
5
CSAPP Chapter 1: A Tour of Computer Systems
cs-base A computer system consists of hardware and system software and runs applications through a program life cycle of creation, execution, output, and termination. Information is made of bits and context, and programs are transformed into executables by the compilation system. The processor reads and executes instructions, using caches to improve performance. The operating system manages hardware and provides abstractions such as processes and virtual memory to support concurrency and parallelism. Abstraction is a core concept in computer science, and virtual machines provide an abstraction of an entire computer.
Random Posts Random
1
Angular-Based Animation Showcase Website with Login and Registration (Cognito)
PROJECT 2024-11-12
2
The First Round of Screening in the New Era
life 2026-04-09
3
Forwarding Network Traffic to a Router via NAT on Ubuntu
cs-base 2024-12-15
4
Getting Started with Docker
infra 2023-08-10
5
Python Web Crawler Environment Setup
spider 2024-01-01





