Ali
Smart shell alias replacement
Install / Use
/learn @asciimoo/AliREADME
=================================== Ali - smart shell alias replacement
The biggest problem with the standard shell alias system is its best feature: simplicity. In short, an alias is nothing else, just a substitution of a shell command prefix. Ali tries to stay as simple as the built-in alias command, while providing way more functionality and flexibility.
.. image:: docs/images/demo.gif :alt: Usage demo :align: center
Features
- Supports multiple and positional alias arguments
- Alias management
- Bash and Zsh compatibility
Install
clone and source ali.sh
Usage
.. code:: bash
$ ali [[ACTION] ACTION_ARGS..]
Actions
define
Define alias
Standard alias definition: ``ali define myls ls -l``
Multiple arguments and argument reorder: ``ali define lwc ls -l \$2 \| wc \$1``. Example usage: ``lwc -l ../``
Pipes: ``ali define logthis \$@ \| tee -a mylog.log``. Example usage: ``logthis any_command --with --args``
register
Save and define alias
Same as define except it persists defined aliases.
Sourcing ali.sh automatically loads saved aliases.
list
List persisted aliases
expand
Display the definition of a given alias
delete
Delete given alias
load
~~~~
Load persisted aliases
clear
~~~~~
Remove all stored aliases
Bugs
====
Bugs or suggestions? Visit the `issue
tracker <https://github.com/asciimoo/ali/issues>`__.
License
=======
GPLv3+
Related Skills
node-connect
347.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
108.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
347.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
347.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
