This project provides a comprehensive set of shell aliases and functions that enhance productivity and simplify common tasks in bash and zsh environments. It automatically detects your package manager and provides unified commands across different Linux distributions.
Key Features:
-
Package Manager Agnostic: Works with apt, dnf, yum, pacman, zypper, apk
-
System Management: Unified update, upgrade, and cleanup commands
-
Navigation Boosters: Quick directory navigation and file operations
-
Safety Features: Interactive file operations to prevent accidents
-
Development Tools: Git shortcuts and development utilities
-
Network & Monitoring: Quick system monitoring and network tools
- Clone the Repository
git clone https://github.com/younesmod/shell-boost.git
cd shell-boost- Make sh files executable
chmod +x install-bashedit.sh # for bash
# OR
chmod +x install-zshedit.sh # for zsh- Run the installer
./install-bashedit.sh # for bash
# OR
./install-zshedit.sh # for zsh- Reload your shell
source ~/.bashrc # for bash
# OR
source ~/.zshrc # for zshSystem Management:
sysup # Auto-detect package manager and update system
pkgclean # Clean up package cache for your distro
pkginst vim # Install packages using detected package manager
pkgsearch python # Search for packagesFile Operations:
ll # Detailed file listing
.. # Go up one directory
... # Go up two directories
backup file.txt # Create backup of file
extract archive.zip # Extract any archive formatDevelopment:
gs # git status
ga . # git add all
gc "message" # git commit
mkcd new_project # Create and enter directorySystem Monitoring:
cpu # Show processes by CPU usage
mem # Show processes by memory usage
ports # Show listening ports
myip # Get public IP addressPackage Management:
-
sysup - Universal system update that auto-detects your package manager
-
pkgclean - Clean package cache and remove unnecessary packages
-
pkginst - Install packages using the correct package manager
-
pkgsearch - Search for packages across different package managers
File & Navigation:
-
Quick directory navigation with .., ..., ....
-
Enhanced ls commands with ll, la, l
-
Safety aliases for rm, cp, mv with interactive prompts
-
Archive extraction function for all common formats
Development & Git:
-
Short Git commands: gs, ga, gc, gp, gl
-
Quick shell editing: editbash, reloadbash
-
Directory creation with mkcd function
System & Network:
-
Process monitoring with cpu, mem
-
Network tools: myip, ping, ports
-
Service management aliases for systemd
-
Weather and calculator functions
ansible-devops-foundation/
├── Shell-Config/
│ ├── bashedit # All alias and functions for .bashrc
│ └── zshedit # All alias and functions for .zshrc
├── Shell-Framework/
│ ├── install-oh-my-bash.sh # An easy way to install Oh-My-Bash
│ └── install-oh-my-zsh.sh # An easy way to install Oh-My-ZSH
├── install-bashedit.sh # Script to install ./Shell-Config/bashedit
├── install-zshedit.sh # Script to install ./Shell-Config/zshedit
├── LICENSE # License file
└── README.md # Readme file