aliases
Warning:
This is still an experimental tool.
Use at your own risk!
Description
My global aliases packaged as a node module for easy installation/update across machines.
Usage
-
Install globally. E.g.:
npm install --global @gkalpak/aliases
-
Use from anywhere. For example:
gs // git status
gl1 // git log --decorate --oneline
lla // ls -ahl
nv // node --version
nls // npm list --depth=0
-
All aliases also accept the following arguments:
--al-debug
: Produce verbose, debug-friendly output.--al-dryrun
*: Print the command instead of actually running it.
NOTE: All arguments starting with --al-
will be ignored when substituting input arguments or determining their
index.
(*): This is still an experimental feature and not guaranteed to work as expected.
Run halp
for a list of all available aliases.
Run halp <category>
for a list of available aliases for a particular category (e.g. git
, node
, misc
).
TODO
- Document that
ng-maintain
is a peer dependency (+ show in halp
(if not installed?)) and
which commands require it (e.g. in halp
).
(Or make a real dependency - if it works for global bin scripts.) - Add unit tests.