4 KiB
4 KiB
Parch Linux Zsh Configuration
A comprehensive Zsh configuration package for Parch Linux, featuring productivity-enhancing aliases and fun interactive functions.
🌟 Features
Included Aliases
- File Management: Smart shortcuts for navigating and managing files
- Package Management: Streamlined pacman and paru commands
- Git Operations: Quick git command shortcuts
- Network Utilities: Easy network management and monitoring
- System Management: System monitoring and maintenance shortcuts
- Quality of Life: Various utility commands for better productivity
Interactive Functions
typewriter.zsh
: Text animation effectweather.zsh
: Terminal-based weather informationfireworks.zsh
: ASCII fireworks animationcoin.zsh
: Coin flip simulatordice.zsh
: Dice rolling simulatorextract.zsh
: Universal archive extractorgenpass.zsh
: Password generator
📁 Project Structure
.
├── build.sh # Build script
├── parch.install # Installation hooks
├── PKGBUILD # Package build instructions
├── README.md # This file
└── rootfs # Root filesystem structure
└── usr
└── share
└── parchlinux
└── zsh
├── alias
│ └── alias # Alias definitions
├── functions # Interactive functions
│ ├── coin.zsh
│ ├── dice.zsh
│ ├── extract.zsh
│ ├── fireworks.zsh
│ ├── genpass.zsh
│ ├── typewriter.zsh
│ └── weather.zsh
├── install.txt # Installation instructions
└── zshrc-example # Example Zsh configuration
🚀 Installation
Via Package Manager
sudo pacman -S parch-zsh-config
Manual Installation
- Clone the repository:
git clone https://git.parchlinux.com/config/parch-zsh-config
- Build and install:
cd parch-zsh-config
./build.sh
sudo pacman -U parch-zsh-config-*.pkg.tar.zst
🛠️ Configuration
- Copy the example configuration:
cp /usr/share/parchlinux/zsh/zshrc-example ~/.zshrc
- Source the configuration:
source ~/.zshrc
📖 Usage
Common Aliases
File Management
del
: Safely move files to trash..
,...
,....
: Navigate up directoriesback
: Return to previous directoryla
: List all files with detailslsd
: List only directories
Package Management
update
: Update system packagessearch
: Search packagescleanup
: Remove orphaned packages and clean cache
Git Operations
gs
: Git statusga
: Git addgc
: Git commitgp
: Git pullgpu
: Git push
System Management
dfh
: Disk usage in human-readable formatmeminfo
: Memory informationcpuinfo
: CPU informationjournal
: View system logs
Interactive Functions
typewriter "text"
: Display text with typewriter effectweather [city]
: Show weather informationfireworks
: Display ASCII fireworksroll
: Roll diceflip
: Flip a coingenpass [length]
: Generate secure passwordextract <file>
: Extract any archive format
🤝 Contributing
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
📄 License
This project is licensed under the GPL-3 License - see the LICENSE file for details.
🙏 Acknowledgments
- Parch Linux Team
- Zsh Community
- All contributors who have helped shape this configuration
🐛 Bug Reports
Please report bugs and issues on the Gitlab issues page.
📞 Contact
- Website: https://parchlinux.com
- Gitlab: https://git.parchlinux.com/config/parch-zsh-config