The "Bash-To-ZSH-Initialization" script aims to streamline the transition from the Bash shell environment to Zsh. It automates the process of installing and configuring Zsh along with commonly used plugins and configurations, providing an enhanced and personalized user experience for Zsh users.
βοΈ Detect Package Manager: Detect the package manager being used and execute appropriate actions.
βοΈ Update and Install Packages: Update and install necessary packages using the appropriate package manager.
βοΈ Install Oh My Zsh: Install the Oh My Zsh framework for Zsh customization.
βοΈ Clone Zsh Plugins: Clone Zsh plugins from GitHub repositories to enhance Zsh functionality.
βοΈ Remove Existing Zsh Configurations: Remove existing Zsh configuration files if present.
βοΈ Download and Move Configuration Files: Download new Zsh configuration files and move them to appropriate locations.
βοΈ Clean Up: Clean up temporary files and directories after completion.
βοΈ Set Zsh as Default Shell: Prompt the user to set Zsh as the default shell and execute the change.
These plugins enhance the functionality of Zsh by providing various features such as command auto-suggestion, advanced syntax highlighting, improved file system navigation, and more.
- git
- zsh-autosuggestions
- zsh-syntax-highlighting
- you-should-use
- zsh-bat
- thefuck
- z
- fzf
- extract
- command-not-found
Tested successfully on the following systems:
βοΈ RaspberryPiOS 2022-04-04 - Debian 11 - Linux Kernel 5.15
βοΈ MacOS
βοΈ WSL: Arch Linux
βοΈ WSL: Ubuntu
Clone the project using the following git command:
git clone https://github.com/MushuDG/Bash-To-ZSH-Initialization.git
Assign the appropriate permissions with the chmod command:
chmod -R 740 ./Bash-To-ZSH-Initialization/
Run install script:
cd ./Bash-To-ZSH-Initialization
./install.sh
Powerlevel10k doesn't require custom fonts but can take advantage of them if they are available. It works well with Nerd Fonts, Source Code Pro, Font Awesome, Powerline, and even the default system fonts. The full choice of style options is available only when using Nerd Fonts.
π Recommended font: Meslo Nerd Font patched for Powerlevel10k. π
Gorgeous monospace font designed by Jim Lyles for Bitstream, customized by the same for Apple, further customized by AndrΓ© Berg, and finally patched by yours truly with customized scripts originally developed by Ryan L McIntyre of Nerd Fonts. Contains all glyphs and symbols that Powerlevel10k may need. Battle-tested in dozens of different terminals on all major operating systems.
If you are using iTerm2 or Termux, p10k configure
can install the recommended font for you.
Simply answer Yes
when asked whether to install Meslo Nerd Font.
If you are using a different terminal, proceed with manual font installation. π
- Download these four ttf files:
- Make sure to review the script before execution.
- The script assumes an internet connection for package installation.
- Optionally set Zsh as the default shell for the current user.
This script is released under the MIT license.