aliases
usage:
ctc aliases [options]
description:
view and manage ctc shell aliases
these aliases allow you to call ctc subcommands without typing the "ctc" part
for example, you can type 4byte 0xa9059cbb instead of ctc 4byte 0xa9059cbb
these aliases must go in your shell config file
this can be done using one of the following methods:
1. use ctc aliases --append to append to autodetected config files
2. use ctc aliases >> CONFIG_PATH to append the aliases to config file
3. manually paste the aliases into your config file
the path to your terminal file depends on shell:
- bash: ~/.profile or ~/.bashrc
- zsh: ~/.zshrc
- fish: ~/.config/fish/config.fish
to learn more about the underlying commands, run ctc help
depending on preference, can use all aliases or just a subset of them
examples:
ctc aliases
ctc aliases --raw
ctc aliases --install
arguments:
--raw output aliases as raw script file
--install install/upgrade aliases in shell config (will ask for confirmation)