/dotalias

oh-my-zsh plugin for project command aliases

Primary LanguageShell

dotalias

Automatically load your project aliases from .alias file when you cd into project root directory.

Installation

Just add the plugin to your .zshrc:

plugins=(git man dotalias)

Usage

Create a .alias file inside your project directory and put your aliases there.

For example:

alias gradlewd='docker run --rm -v dot_gradle:/root/.gradle -v ${PWD}:/project --workdir=/project openjdk:8-jdk ./gradlew ${@}'