~pi/aka

ref: f62ee3266d3bfc99f64ebd3d2b4815d2a77e9f81 aka/README -rw-r--r-- 703 bytes
f62ee326Paul Ivanov pretty sweet 1 year, 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Also Known As

A simple "launcher" of command-subcommand style where the the subcommands can
be altered based on configuration.

    $ aka alias pager more

    $ aka pager --version
    more from util-linux 2.36

    $ aka alias pager git

    $ aka pager --version
    git version 2.28.0

## Notes

Initial prototype uses aliases, which may not work for programs that depend on
establishing their behavior based on the `argv[0]` name they were called by
(busybox, for example).

We use an .aka file in the current directory for storing the aliases.

## Ideas

[ ] AKA_HOME environment variable to look for .aka (so we don't always look for
    .aka in either PWD or HOME)

[ ] `aka unalias` command