Murex usage has raised considerably in recent weeks. This release addresses a number of feature requests and bugs raised on Github.
none
foreach
:
--step <int>
. This allows the foreach
to
jump indexes at a time. When used, all the lines jumped are merged into
a JSON array and that is passed to the foreach
nested code
blockbuiltin
=> fexec builtin
.
This was added to bring more familiarity to those coming from Bash et al
(#608)ctrl
+a
: jump to beginning of
linectrl
+e
: jump to end of linealt
+f
: jump forwards a word at a
timealt
+b
: jump backwards a word at a
timectrl
+k
: clear line after cursor
positionctrl
+l
: clear entire screenctrl
+g
: same as
esc
open
builtin should fallback to system default if
type unknown (#620)pre-prompt-func
added to config
. Block
runs before the interactive prompt is displayedpost-prompt-func
added to config
. Block
runs after the interactive prompt has been exited but before any command
lines have been executedconfig
:
config: set shell auto-cd true
. This allows you to traverse
directories without having to prefix cd
. By default it is
disabledforeach
, formap
,
and while
. Meta values are a $.
variable that
holds meta-information about the running block, such as the number of
iterations in a loopcommand
alias for exec
(for familiarity
with Bash)builtin
alias for fexec builtin
(for
familiarity with Bash)$(foobar)
, now
autocomplete as expectedtmux
. It still doesn’t work reliably but this is an
issue with tmux
rather than Murexmethod
forwards exceptions rather than errors. This
behaviour has been changed to surface issues as errorsprofile_preload.mx
added to profile defaults. This
will be loaded before any of the OS-specific profilesPublished: 19.06.2023 at 23:15
alias
): Create an alias for a commandmethod
): Define a methods supported data-typesexec
): Runs an executablefexec
): Execute a command or function, bypassing the
usual order of precedence.foreach
): Iterate through an arrayformap
): Iterate through a map or other collection of
datawhile
):
Loop until condition falseopen
):
Open a file with a preferred handlerconfig
): Query or define Murex runtime settingsThis document was generated from gen/changelog/v4.2_doc.yaml.
This 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 Wed Jan 15 23:07:50 UTC 2025 against commit b4c4296b4c429617fd41527ea0efef33c52c15ef2b64972.
Current version is 6.4.2063 (develop) which has been verified against tests cases.