-
Notifications
You must be signed in to change notification settings - Fork 0
Builtin Commands
L3af edited this page Mar 23, 2021
·
2 revisions
Create and delete aliases for commonly used or long commands.
Note: As of commit fec0a18
, aliases are only supported as the first command meaning you can't pipe into an alias due to how parsing is done. This will be implemented in the future when parsing is rewritten.
alias <get/set/del/list> [key] [value]
Set local and environment variables.
To set environment variables prefix the name with ENV:
, e.g. ENV:PATH
.
set <variable> <value>
Get local and environment variables.
To get environment variables prefix the name with ENV:
, e.g. ENV:PATH
.
If no variable is specified then all local variables will be listed.
get [variable]
Change your working directory.
Use -
and +
as path to traverse cd history.
If no directory is specified then it will cd to home directory.
cd [path]