Skip to content

milibots/install-shortcuts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

11 Commits
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿš€ Shell Shortcuts Installer

GitHub License Platform

โœจ What's Inside?

60+ carefully crafted shortcuts organized into intuitive categories:

๐Ÿ’ฐ Financial Data (NEW!)

crypto              # Cryptocurrency prices
arz                 # Foreign exchange rates  
gold                # Gold and precious metals
coin                # Coin prices
cars                # Car prices
phones              # Phone prices
financial crypto    # Advanced crypto data with formats
prices              # Show all available price types

๐Ÿ Python Development (NEW!)

pmv                 # python -m venv venv (create virtual env)
pfr                 # pip freeze > requirements.txt
cls                 # clear screen
activate            # source venv/bin/activate

๐Ÿ”ง Installation Commands (NEW!)

setpanel            # Install milibots panel
setssl              # Setup SSL certificates

๐Ÿง System & Navigation

scs nginx          # systemctl status nginx
scr nginx          # systemctl restart nginx  
ll                 # ls -alF
..                 # cd ..
df                 # df -h

๐Ÿ‹ Docker & Containers

dps                # docker ps
dcu                # docker-compose up
dcd                # docker-compose down

๐Ÿ“ Git Supercharged

gs                 # git status
gcm "message"      # git commit -m "message"
gl                 # git log --oneline --graph

๐Ÿ”ง Package Management

aptup              # sudo apt update && sudo apt upgrade
dnfin nginx        # sudo dnf install nginx

๐ŸŒ Networking & Tools

myip               # curl ifconfig.me
weather            # curl wttr.in
cheat tmux         # curl cheat.sh/tmux

๐Ÿ› ๏ธ And so much more...

  • Tmux sessions: tns dev, ta, tl
  • Python development: py, pip, venv
  • File operations: extract file.tar.gz
  • Process management: psg nginx
  • Search tools: search "text"

๐Ÿš€ Instant Installation

One command to rule them all:

sudo bash -c "$(curl -fsSL https://raw.githubusercontent.com/milibots/install-shortcuts/main/install.sh)"

That's it! The script will:

  • โœ… Auto-detect your shell (Bash/Zsh)
  • ๐Ÿ”’ Create backups before any changes
  • ๐ŸŽจ Add all shortcuts with beautiful organization
  • โšก Skip existing aliases (no duplicates)
  • ๐ŸŽฏ Show usage examples

๐ŸŽฏ Usage Examples

Category Before After
Financial curl -s "https://api.coingecko.com/api/v3/..." crypto
Python python3 -m venv venv pmv
Python pip freeze > requirements.txt pfr
System systemctl status nginx scs nginx
Docker docker-compose up dcu
Git git log --oneline --graph gl
Files ls -alF ll
Network curl ifconfig.me myip

๐Ÿ“‹ Complete Shortcut List

๐Ÿ’ฐ Financial Data (12 shortcuts)

  • crypto - Cryptocurrency prices
  • arz - Foreign exchange rates
  • coin - Coin prices
  • gold - Gold and precious metals
  • cars - Car prices
  • phones - Phone prices
  • allprices - All price data in lynx browser
  • cryptodata() - Advanced crypto data with format parameter
  • financial() - Universal financial data function
  • prices() - Show all available price types

๐Ÿ Python Development (6 shortcuts) - NEW!

  • python - python3
  • pip - pip3
  • py - python3
  • venv - python3 -m venv
  • pmv - python3 -m venv venv (quick virtual env)
  • pfr - pip freeze > requirements.txt
  • activate - source venv/bin/activate

๐Ÿ”ง Installation Commands (2 shortcuts) - NEW!

  • setpanel - Install milibots panel
  • setssl - Setup SSL certificates

๐Ÿง System & Navigation (15 shortcuts)

  • sc, ssc, scr, scs, sce, scd, scstart, scstop, scl, sclf, scu, jc, jcf
  • .., ..., ...., ~, c, cls, h, ls, ll, la, l, ltr
  • rm, cp, mv (safe versions)

๐Ÿ‹ Docker (9 shortcuts)

  • d, di, dps, dpsa, dk, drm, drmi, dcu, dcd

๐Ÿ“ Git (10 shortcuts)

  • g, gs, ga, gc, gcm, gp, gpl, gco, gb, gl

๐Ÿ”ง Package Management (9 shortcuts)

  • aptup, aptin, aptrm, dnfup, dnfin, dnfrm, pacup, pacin, pacrm

๐ŸŒ Networking (6 shortcuts)

  • ip, ips, myip, ping, ports, wget

๐ŸŽฎ Tmux (8 shortcuts)

  • t, ta, tn, tns, tl, tk, tks, td

๐Ÿ” Search & Tools (8 shortcuts)

  • grep, egrep, fgrep, search, ff, psg, killp, pstop

๐Ÿ“Š System Info (6 shortcuts)

  • df, du, free, meminfo, ports, size

๐Ÿ› ๏ธ Development (5 shortcuts)

  • vim, editbash, editvim, rsync, scp

๐ŸŽฏ Productivity (4 shortcuts)

  • weather, cheat, now, today

๐Ÿ’พ File Operations (3 shortcuts)

  • mkdir, diff, size

๐ŸŽจ Custom Functions

  • extract() - Extract any archive format automatically
  • dsize() - Quick directory size with sorting
  • findlarge() - Find and display large files
  • sysinfo() - Comprehensive system information

๐Ÿ’ฐ Financial Data Features

Quick Access Commands:

crypto        # Get cryptocurrency prices
arz           # Check foreign exchange rates  
gold          # Gold and precious metals prices
financial crypto text    # Crypto prices in console format
financial gold json      # Gold prices in JSON format
prices                   # Show all available price types

Advanced Usage:

# Multiple output formats
financial crypto text    # Human-readable text
financial crypto json    # JSON format for scripting

# All available data types
financial crypto
financial arz  
financial coin
financial gold
financial cars
financial phones

๐Ÿ Python Development Workflow

Complete Python Environment Setup:

pmv          # Create virtual environment
activate     # Activate virtual environment
pip install requests pandas numpy  # Install packages
pfr          # Generate requirements.txt

Quick Python Commands:

py script.py           # Run Python script
pip list              # Show installed packages
pfr                   # Export dependencies
cls                   # Clear screen

๐Ÿ”ง Installation Commands

Quick Setup:

setpanel    # Install milibots control panel
setssl      # Setup SSL certificates automatically

๐Ÿ”ง Manual Installation

Prefer to check the script first?

# Download and inspect
curl -fsSL https://raw.githubusercontent.com/milibots/install-shortcuts/main/install.sh -o install-shortcuts.sh

# Review the script
cat install-shortcuts.sh

# Run locally
chmod +x install-shortcuts.sh
./install-shortcuts.sh

๐Ÿ—‘๏ธ Uninstallation

# Simply remove the shortcut section from your ~/.bashrc or ~/.zshrc
# Look for the section between:
# "# ============================================================================"
# "# ๐Ÿš€ CUSTOM SHORTCUTS"
# and the end of the shortcuts section

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages