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 Tue Dec 10 22:56:57 UTC 2024 against commit 60f05a260f05a227caf73dd5b3478e3cb3f4bb24e46745b.
Current version is 6.4.1005 (develop) which has been verified against tests cases.