๐ง Manjaro Linux Initialization Script for Efficient System Setup

Setting up a fresh Manjaro Linux environment can be streamlined with a comprehensive Bash script that automates essential configurations and installations.
Before running the initialization script, switch the default shell to Bash for compatibility
| |
๐ฅ Run the Script
Execute all steps with a single command:
| |
๐ง Script Overview
The script provides a menu-driven interface with ten options, each automating a specific setup task. It loops until exit is selected, allowing multiple configurations in one session.
๐ Menu Options
- Configure Manjaro Mirrors
- Install Essential Packages
- Configure Passwordless Sudo
- Enable Tab Completion
- Retrieve Public SSH Key from GitHub
- Install VIM-PLUG
- Configure tmux
- Install Fcitx5 Input Method
- Install Google Chrome
- Install Docker
๐งฉ Breakdown the Script
1. Configure Manjaro Mirrors
1sudo pacman-mirrors --fasttrack 20 && sudo pacman -Syyu --noconfirmOptimizes mirror selection for faster downloads.
Updates the package database and system.
2. Install Essential Packages
| |
- Installs commonly used tools for development and system diagnostics.
3. Configure Passwordless Sudo
| |
- Grants the current user permission to run
sudocommands without entering a password.
4. Enable Tab Completion
| |
- Improves shell usability by allowing case-insensitive tab completion.
5. Retrieve Public SSH Key from GitHub
| |
- Downloads and installs a public SSH key for GitHub access.
6. Install VIM-PLUG and Configure Vim
| |
- Installs
vim-plug, a plugin manager for Vim. - Adds a set of useful plugins and configurations to
.vimrc.
7. Configure tmux
| |
- Sets up
tmuxwith custom keybindings, mouse support, and visual enhancements.
8. Install Fcitx5 Input Method
| |
- Installs Fcitx5 and related packages for multilingual input, including Chinese.



9. Install Google Chrome
| |
- Builds and installs Google Chrome from the AUR using
pamac.


10. Install Docker
| |
- Installs Docker using the official convenience script for containerized development.
๐ฆ Conclusion
Manjaro setup just got a turbo boost. No more typing the same commands like a robot every time a fresh install happens.
