Power setup
Alias
Always typing the full name snipkit
in order to open the manager might be too
cumbersome for you. Instead, define an alias (e.g. in your .zshrc
file):
# SnipKit alais
sn () {
snipkit $1
}
Then you can just type sn
instead of snipkit
to open SnipKit.
Default Root Command
Most of the time, you want to call the same subcommand, e.g. print
or exec
. You
can configure snipkit
so that this command gets executed by default by editing the config:
Example:
# snipkit config edit
defaultRootCommand: "exec"
With this setup, calling sn
will yield the same result as snipkit exec
. If you want to call
the print
command instead, type sn print
.