Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

aliasy

aliasy is a small zsh helper for managing aliases from your shell session while keeping alias definitions persistent on disk.

What it does

  • Lists the aliases currently available in your zsh session.
  • Adds new aliases and saves them to a persistent store.
  • Removes and renames saved aliases.
  • Reloads aliases from the store when you start a new shell.

By default, aliasy stores persistent aliases in ~/.aliasy_store.zsh.

Installation

  1. Clone this repo somewhere on your machine.
  2. Source aliasy.zsh from your ~/.zshrc:
source "/Users/adam/Desktop/Programming/shell/aliasy/aliasy.zsh"
  1. Reload your shell:
source ~/.zshrc

Homebrew

You can also install it through Homebrew from this repository as a tap:

brew tap adamzafir/aliasy https://github.com/adamzafir/aliasy
brew install --HEAD adamzafir/aliasy/aliasy

Then source the installed file from your ~/.zshrc:

source "$(brew --prefix)/share/aliasy/aliasy.zsh"

Usage

aliasy help
aliasy list
aliasy add gs 'git status'
aliasy remove gs
aliasy rename gs gst
aliasy reload

Example

aliasy add ll 'ls -lah'
aliasy list

That adds ll to the current shell and writes it to the persistent alias store so it comes back in future sessions.

About

Persistent alias manager for zsh

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages