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 commandconfig
: Query or define Murex runtime settingsexec
: 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 datamethod
: Define a methods supported data-typesopen
: Open a file with a preferred handlerwhile
: Loop until condition falseThis 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 Thu Aug 15 14:38:34 UTC 2024 against commit 50ed9d650ed9d6df391240d3c2c02e623636e508dfcdad1.
Current version is 6.2.4000 which has been verified against tests cases.