Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

readme.md

dir_alias

Directory based aliases

Usage

Define an .aliasfile with the bash aliases for the directory.

alias foo='echo "foo"'
alias bar="echo 'bar'"

IMPORTANT: the file should only contain alias definitions, one per line.

Installation

Using antigen, antibody, or some other zsh plugin manager:

$ antigen bundle moondewio/dir_alias
$ antibody bundle moondewio/dir_alias >> ~/.zsh_plugins.sh

Or by clonning the repo and sourcing the file:

git clone https://github.com/moondewio/dir_alias.git
echo "source ~/path/to/dir_alias/dir_alias.plugin.zsh" > ~/.zshrc

Acknowledgements

Inspired on carlosV2/bash-aliases-per-directory.

Releases

No releases published

Packages

No packages published

Languages