Breaking Changes:
echo @{g this-file-does-not-exist}
) should fail by default, like unset variables. This is enabled by default but can be disabled via config: set proc strict-arrays false
@g echo this-file-does-not-exist.*
try
and trypipe
blocks. eg try { echo ${false} }
Features:
function
now supports defining parameters&&
eg do-something && do-something-else
for chaining successful commands||
eg do-something || do-something-else
for chaining unsuccessful commandsconfig: set shell titlebar-func { block }
titlebar-func
can also be written to your tmux
window title via config: set shell tmux-echo true
.$HOSTNAME
$1
(and upwards) which correlates to the scope’s parameter index. $1
is the functions first parameter. $2
is the second. $13
is the thirteenth.$0
which contains the function nameonCommandCompletion
(this is experimental and subject to change in the next release)echo Hello ^$name
will prompt the user to enter a name. Macro variables are only support in the REPLread
now supports flags (eg default option, etc) to allow for a better experience in shell scriptingMinor Changes:
onKeyPress
events. This no longer produces an error forcing you to remove the old event before adding the new oneopenagent
builtinBug Fixes:
forceTTY
: config: get proc force-tty false
set by default, which then proxies STDERR and prints them in redonFilesystemChange
where fileRef is not getting passed correctlyonFilesystemChange
where path is zero length stringcount
should check if it is a methodmurex-docs
still referred to len
builtin. That should be changed to count
Published: 15.05.2022 at 22:49
&&
) Logical Operator: Continues next operation if previous operation passes||
) Logical Operator: Continues next operation only if previous operation fails@g
(autoglob): Command prefix to expand globbing (deprecated)config
: Query or define murex runtime settingsevent
: Event driven programming for shell scriptsfunction
: Define a function blockopenagent
: Creates a handler function for `openread
: read
a line of input from the user and store as a variableThis site's content is rebuilt automatically from murex's source code after each merge to the master
branch. Downloadable murex binaries are also built with the website.
Last built on Mon Feb 13 09:18:06 UTC 2023 against commit f339958f33995895c1d997efcdbb8408d2c8d45f8b5f934.
Current version is which has been verified against 13950 tests cases.