Welcome to Alias Hub! This repository organizes a comprehensive collection of shell aliases, categorized to simplify and enhance your workflows. By sourcing these aliases, you can save time, reduce repetitive tasks, and boost your productivity in the terminal.
Here’s a summary of the .alias
files included in this repository:
Development_Tools.alias
: Shortcuts for coding, debugging, and developer tools.ESP_Development.alias
: Aliases tailored for ESP-based development tasks.File_Management.alias
: Utilities for file and directory management.Fun_and_Entertainment.alias
: Fun commands for casual and entertainment purposes.global.alias
: General-purpose aliases that work across all categories.Media_and_Files.alias
: Commands for handling media files and related operations.Navigations.alias
: Directory navigation shortcuts to streamline movement.Network_Management.alias
: Tools for managing and troubleshooting network-related tasks.Postgres.alias
: Database management aliases for PostgreSQL users.Search_Utilities.alias
: Commands for efficient searching using tools likegrep
andfind
.System_Management.alias
: System administration shortcuts to manage processes, updates, and more.
Clone the repository to your local machine:
cd ~ # Navigate to your home directory
git clone https://github.com/1999AZZAR/alias-hub
cd alias-hub
To use the aliases, source them in your shell configuration file:
Add the following lines to your ~/.bashrc
:
# Load aliases from Alias Hub
ALIASES_DIR="$HOME/alias-hub"
for file in "$ALIASES_DIR"/*.alias; do
source "$file"
done
Add the following lines to your ~/.zshrc
:
# Load aliases from Alias Hub
ALIASES_DIR="$HOME/alias-hub"
for file in "$ALIASES_DIR"/*.alias; do
source "$file"
done
Apply the changes by reloading your shell configuration:
source ~/.bashrc # For Bash
source ~/.zshrc # For Zsh
Run the following command to install and source the aliases automatically:
wget -qO- https://raw.githubusercontent.com/1999AZZAR/alias-hub/master/install.sh | bash
Take your terminal to the next level with these tools and plugins:
- Oh My Bash: A framework for managing Bash configurations.
- Oh My Zsh: A popular Zsh framework with an extensive plugin ecosystem.
To install:
# Install Oh My Bash
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmybash/oh-my-bash/master/tools/install.sh)"
# Install Oh My Zsh
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
Enhance functionality with these plugins:
zsh-autosuggestions
: Displays command suggestions as you type.zsh-syntax-highlighting
: Highlights syntax for better readability.
To use these plugins, update your .zshrc
:
plugins=(git zsh-autosuggestions zsh-syntax-highlighting)
Install plugins via a plugin manager like antigen
or zinit
.
The global.alias
file is designed for user-specific aliases. Add your personalized shortcuts here to make them always accessible.
Example:
alias gs='git status'
alias ll='ls -lah'
- Modular Design: Use only the categories you need.
- Ease of Customization: Add or modify aliases as required.
- Versatile Coverage: Includes development, networking, file management, and more.
We welcome contributions! Here’s how you can help:
- Add new aliases to existing categories.
- Propose new categories and
.alias
files. - Report issues or bugs via the GitHub repository.
Enjoy an optimized and productive terminal experience with Alias Hub!