Zsh (Z Shell) is an extended version of the Bourne Shell (sh), with many improvements and features. It offers powerful command-line editing, shared command history, and advanced tab completion, among other features.
Zsh provides several advantages over traditional shells:
- Enhanced productivity with better auto-completion and correction
- Rich customization options
- Improved scripting capabilities
- Cross-platform consistency
- Sudo access (for Linux systems)
- Internet connection
- Git (for cloning the repository)
After running the setup script, you can further customize your Zsh environment by editing the .zshrc
file in your home directory.
If you encounter any issues, please check the following:
- Ensure you have the necessary permissions to install packages
- Verify your internet connection
- Check if the required package managers are available on your system
This script automates the installation and configuration of Zsh (Z Shell) across multiple operating systems, including various Linux distributions and macOS.
This setup script performs the following tasks:
- Detects the operating system (Linux or macOS).
- Checks if Zsh is installed, and installs it if not present.
- Verifies if the installed Zsh version is up-to-date, and updates it if necessary.
- Creates symbolic links to Zsh configuration files in the appropriate locations.
The script supports multiple package managers, including:
dnf
(Fedora, CentOS Stream)yum
(older versions of CentOS, RHEL)zypper
(openSUSE)pacman
(Arch Linux and derivatives)brew
(macOS)
- Clone this repository:
git clone https://github.com/RemoteRabbit/zsh.git ~/repos/personal
- Run the setup script:
./setup.sh
This project is released into the public domain using the Unlicense. For more information, please see the UNLICENSE file in this repository or visit unlicense.org