Skip to content

Builtin Commands

L3af edited this page Mar 23, 2021 · 2 revisions

Aliases

Description

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.

Syntax

alias <get/set/del/list> [key] [value]

Set

Description

Set local and environment variables.
To set environment variables prefix the name with ENV:, e.g. ENV:PATH.

Syntax

set <variable> <value>

Get

Description

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.

Syntax

get [variable]

Change Directory

Description

Change your working directory.
Use - and + as path to traverse cd history.
If no directory is specified then it will cd to home directory.

Syntax

cd [path]
Clone this wiki locally