Skip to main content

Cross-workstation alias manager for bash and zsh

Project description

🚀 Turboalias

Cross-workstation alias manager for bash and zsh

Turboalias is a simple, powerful tool to manage your shell aliases across multiple workstations. Store your aliases in a clean JSON config, organize them by category, and sync them easily.


✨ Features

  • 🎯 Simple CLI - Easy commands to add, remove, and list aliases
  • Auto-Reload - Changes apply instantly without manual shell reload
  • 📁 Category Support - Organize aliases by category (git, docker, navigation, etc.)
  • 📥 Import Existing - Import your current shell aliases
  • 🔄 Git Sync - Sync aliases across machines using Git
  • 🐚 Multi-shell - Works with both bash and zsh
  • 📝 JSON Config - Clean, editable configuration file
  • 🎨 Clean Output - Aliases organized by category in your shell

🖥️ Supported Platforms

Platform Shells Status
macOS bash, zsh ✅ Fully supported
Linux bash, zsh ✅ Fully supported
Windows WSL (bash, zsh) ✅ Via WSL

📦 Installation

Via pip (recommended)

pip install turboalias

### From source

```bash
git clone https://github.com/mcdominik/turboalias.git
cd turboalias
pip install -e .

🚀 Quick Start

1. Initialize turboalias

turboalias init

2. Add some aliases

turboalias add ll 'ls -lah'
turboalias add gst 'git status' --category git
turboalias add gco 'git checkout' --category git
turboalias add dps 'docker ps' --category docker
turboalias add hg 'history | grep'

3. Use your aliases!

ll
gst
dps
hg npm

📖 Usage

Initialize turboalias

turboalias init

Add an alias

turboalias add <name> <command> [--category <category>]

Examples:

turboalias add ll 'ls -lah'
turboalias add gst 'git status' -c git

Remove an alias

turboalias remove <name>

Example:

turboalias remove dps

Changes apply instantly! No need to reload your shell after removing aliases.

List aliases

# List all aliases
turboalias list

# List aliases in a category
turboalias list --category git

List categories

turboalias categories

Import existing aliases

turboalias import

Scans your current shell for aliases and imports them into turboalias

Clear all aliases

turboalias clear

Removes all turboalias-managed aliases (with confirmation)

Edit config directly

turboalias edit

Opens the config file in your $EDITOR (defaults to nano)


⚙️ Configuration

Turboalias stores its configuration in ~/.config/turboalias/:

File Purpose
aliases.json Your aliases and categories
aliases.sh Generated shell script (sourced by your shell)

Config file format

{
  "aliases": {
    "ll": {
      "command": "ls -lah",
      "category": null
    },
    "gst": {
      "command": "git status",
      "category": "git"
    }
  },
  "categories": {
    "git": ["gst", "gco", "glog"]
  }
}

You can edit this file directly with turboalias edit or manually.


💡 Why Turboalias?

Benefit Description
Instant Updates Changes apply immediately without manual shell reload
Centralized Management All your aliases in one place
Organized Categories keep things tidy
Portable Easy to backup and sync (just copy ~/.config/turboalias/)
Safe Doesn't modify your existing aliases, creates a separate file
Transparent Generated aliases.sh is human-readable
Cross-platform Works seamlessly on macOS and Linux

🗺️ Roadmap

  • Git sync support for automatic syncing across machines
  • Alias search functionality
  • Shell completion support
  • Export/import to different formats
  • Alias templates and snippets

🤝 Contributing

Contributions welcome! Please feel free to submit a Pull Request.


📄 License

MIT License - see LICENSE file for details


👤 Author

Dominik - @mcdominik


Made with ❤️ for unix enthusiasts

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

turboalias-0.0.1.tar.gz (10.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

turboalias-0.0.1-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

Details for the file turboalias-0.0.1.tar.gz.

File metadata

  • Download URL: turboalias-0.0.1.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for turboalias-0.0.1.tar.gz
Algorithm Hash digest
SHA256 8b5a5dd251f96ab5b6dfc7930660bcdfa5ad0dd6a3efd0c6b29e61c2fe075db0
MD5 492cd16d7f17188897073e4006db503c
BLAKE2b-256 b6582024c3e2791bee9ece79936168da89f2f2e6de2e9a8e9105401685ac2040

See more details on using hashes here.

File details

Details for the file turboalias-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: turboalias-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 12.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for turboalias-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 328bdeefb81084158a5ffbbd84a97bb6a83c111b3534cb76df30ef1a4b42a319
MD5 f9d8508bf568ec91f0b7e28720bb1730
BLAKE2b-256 5fbf8e820ee3f1bef4a2996ec8fd7a91ef203d48b89da52132ab074c0d1b6464

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page