A powerful and modular ZSH configuration setup focused on productivity and user experience. Works seamlessly across both desktop and server environments.
- Fast and responsive shell experience with Powerlevel10k instant prompt
- Comprehensive plugin management using Znap
- Intelligent command completion system
- History management with duplicate prevention
- Package management utilities for Arch Linux systems
- Command suggestion and syntax highlighting
- Directory bookmarking and quick navigation
- Rust development environment support
# Install required packages
# For Arch Linux
pacman -S zsh git curl
# For Debian/Ubuntu
apt install zsh git curl
# For RHEL/CentOS
dnf install zsh git curl
- Clone the repository:
git clone https://github.com/Pakrohk-DotFiles/zsh-config.git ~/.zsh_config
- Create symbolic links:
ln -sf ~/.zsh_config/.zshrc ~/.zshrc
ln -sf ~/.zsh_config/.zshrc.local ~/.zshrc.local
ln -sf ~/.zsh_config/.paru_fzf.zsh ~/.paru_fzf.zsh
- Install Znap (plugin manager):
git clone --depth 1 https://github.com/marlonrichert/zsh-snap.git ~/.zsh_config/znap
- Set ZSH as default shell:
chsh -s $(which zsh)
~/.zsh_config/
├── .zshrc # Main configuration file
├── .zshrc.local # Local/machine-specific settings
└── .paru_fzf.zsh # Package management utilities
-
Base Configuration (.zshrc)
- Shell options and history settings
- Key bindings
- Completion system configuration
- Plugin management
- Common aliases and functions
-
Local Configuration (.zshrc.local)
- Powerlevel10k theme settings
- Rust development environment
- Machine-specific configurations
-
Package Management (.paru_fzf.zsh)
- Interactive package management interface
- Fuzzy search capabilities
- System maintenance utilities
fast-syntax-highlighting
: Real-time command syntax highlightingzsh-autosuggestions
: Fish-like command suggestionszsh-completions
: Additional completion definitionspowerlevel10k
: Modern, informative prompt themez
: Quick directory jumpingwd
: Directory bookmarkinggit
: Enhanced Git integrationcolored-man-pages
: Colorized man pagesvirtualenvwrapper
: Python virtual environment management
Access package management utilities by running pf
command:
- Search and install packages
- Remove packages
- Clean orphaned packages
- List explicit packages
- List foreign (AUR) packages
- Lazy loading of completions
- Instant prompt configuration
- Efficient plugin management with Znap
- Optimized completion system
- Local machine configurations can be added to
.zshrc.local
- Additional aliases can be defined in
.zshrc
- Powerlevel10k prompt can be reconfigured using:
p10k configure
mkcd
: Create and enter directorycheat
: Access cheat.shAReboot
: Restart audio systemreflectmirrors
: Update pacman mirrorsrepack_arch
: Reinstall all native packages
For server environments:
- Powerlevel10k theme automatically adjusts for non-GUI environments
- Package management features work with basic package managers
- Performance optimizations help with remote connections
- No GUI-dependent features are required
MIT License - feel free to use and modify as needed.
Contributions are welcome! Please feel free to submit a Pull Request.