pin add -i laa --cmd="ls -la"
pin list
pin do -i laa
- Go
- Arch Linux:
pacman -S go
- Arch Linux:
I also recommend the Atom editor with the go-plus package installed.
Assumes you have golang installed...
git clone git@github.com:xolan/pin.git
Change directory to repo root, for example cd ~/dev/pin
source setpath.sh
cd src/github.com/xolan/pin
go get
go build
pin help
:
Pin is a command pinner, similar to aliasing
Usage:
pin [flags]
pin [command]
Available Commands:
do Execute command with the given identifier
list Display a list of pinned commands
add Add (pin) a command
remove Remove (unpin) a command
gendocs Generate documentation for this program
help Help about any command
Flags:
-h, --help=false: help for pin
-v, --verbose=false: verbose output
Use "pin help [command]" for more information about a command.