quick-alias(qa) is a usefull tool for creating aliases for long and repeated command text(s).
We can use these aliasing dynamically to form many other commands.
All of the alias mapping will be store in toml file on user machine.
User can add/remove these aliasing via command.
Example:
===== q_alias.ini ====
bb=bazel build
db_path=my/db/path/here/
merge_path=merge/path/here/
===== /q_alias.toml ===
Now you can use it as qa {bb} {db_path}/new/{merge_path}
qa {bb} {db_path}/new/{merge_path} => bazel build my/db/path/here/new/my/merge/path/here/
Download the binary from https://github.com/grv07/quick-alias/blob/master/example/qa
You can make it executable with sudo chmod +x qa
'./qa -a "sort_path" "some/full/long/path"' to add quick aliasing. './qa --help' for quick aliasing help.
'./qa bazel build {sort_path}' to run os command with aliases.
**NOTE: Aliases set in your bashrc are not gonna work. May be correct in future :)