Skip to content

younesmod/shell-boost

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 Shell Productivity Boost

Bash ZSH Linux BSD UNIX

A collection of essential aliases and functions to supercharge your shell experience

Table Of Content

🎯 Project Overview

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

🚀 Quick Start

  1. Clone the Repository
git clone https://github.com/younesmod/shell-boost.git
cd shell-boost
  1. Make sh files executable
chmod +x install-bashedit.sh    # for bash
# OR
chmod +x install-zshedit.sh     # for zsh
  1. Run the installer
./install-bashedit.sh    # for bash
# OR
./install-zshedit.sh     # for zsh
  1. Reload your shell
source ~/.bashrc   # for bash
# OR
source ~/.zshrc    # for zsh

🎮 Usage

System 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 packages

File 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 format

Development:

gs        # git status
ga .      # git add all
gc "message"  # git commit
mkcd new_project  # Create and enter directory

System Monitoring:

cpu       # Show processes by CPU usage
mem       # Show processes by memory usage
ports     # Show listening ports
myip      # Get public IP address

✨ Features

Package 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

📁 Project Structure

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
Boost Your Shell Productivity! 🚀