mirror of https://github.com/Hilbis/Hilbish
docs: [ci] generate new docs
parent
0a2046e985
commit
e044aeb5ed
|
@ -35,7 +35,7 @@ multiprompt(str) > Changes the continued line prompt to `str`
|
||||||
|
|
||||||
prependPath(dir) > Prepends `dir` to $PATH
|
prependPath(dir) > Prepends `dir` to $PATH
|
||||||
|
|
||||||
prompt(str) > Changes the shell prompt to `str`
|
prompt(str, typ?) > Changes the shell prompt to `str`
|
||||||
There are a few verbs that can be used in the prompt text.
|
There are a few verbs that can be used in the prompt text.
|
||||||
These will be formatted and replaced with the appropriate values.
|
These will be formatted and replaced with the appropriate values.
|
||||||
`%d` - Current working directory
|
`%d` - Current working directory
|
||||||
|
|
|
@ -73,7 +73,8 @@ function hilbish.prependPath(dir) end
|
||||||
--- `%u` - Name of current user
|
--- `%u` - Name of current user
|
||||||
--- `%h` - Hostname of device
|
--- `%h` - Hostname of device
|
||||||
--- @param str string
|
--- @param str string
|
||||||
function hilbish.prompt(str) end
|
--- @param typ string Type of prompt, being left or right. Left by default.
|
||||||
|
function hilbish.prompt(str, typ) end
|
||||||
|
|
||||||
--- Read input from the user, using Hilbish's line editor/input reader.
|
--- Read input from the user, using Hilbish's line editor/input reader.
|
||||||
--- This is a separate instance from the one Hilbish actually uses.
|
--- This is a separate instance from the one Hilbish actually uses.
|
||||||
|
|
Loading…
Reference in New Issue