leadr 2.8.6

Shell aliases on steroids
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env zsh

SCRIPT_DIR=$(cd -- "$(dirname -- "${(%):-%N}")" &> /dev/null && pwd)

# Set this directory as the config directory to loa the test mappings
export LEADR_CONFIG_DIR="$SCRIPT_DIR"

source "$SCRIPT_DIR/../init.zsh"

# Bind Ctrl-G to invoke leadr
zle -N __leadr_invoke__
bindkey '\C-g' __leadr_invoke__