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 commands instead of actually running them (hopefully).
(*): This is still an experimental feature and not guaranteed to work as expected.
Run halp
for a list of all available aliases.
TODO
- Add alias for
git commit --amend (--no-edit)
. - Add support for
halp <group>
. - Make
gcom
, gprom
, gprum
, grbm
fallbacks of their non-m
equivalents.
(Requires feature to slice $*
. Or maybe not.) - Test/Fix/Improve commands (
nvu
):
- Some commands are currently broken (e.g.
nvu
). - Some commands are Windows-specific (e.g.
nvu
).
- 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.
- (?) Add support for different commands, based on current OS.