v4.4 features two new builtins, improvements in testing, and automatic generation of autocompletion suggestions backed by man page parsing. Plus there has been a lot of focus on improving readline responsiveness
None
su
integration for Linux$GOPATH
is no longer required to run unit testscd $GOPATH/...
)vi ~/file.txt
)None
f1
should work even outside of autocompletealt
+1
..9
hotkeys replaced with shift
+f1
..f12
. Changed because alt
+numeric rarely worked (read more)None
@IncManPages
autocomplete
value for Dynamic directive renamed to @IncManPage
, like the IncManPage directiveconfig
option removed. This actually doesn’t break anything, just produces a warning. The config
option was also undocumented and experimentalf1
while autocomplete is open to use (read more)onCommandCompletion
interrupt (this field was never documented)round
, which can perform rounding operations on numerical inputs (#630, read more)man-get-flags
now includes a -d
/ --description
flag to expose the improved man page parserreturn
, which exits a given function scope (eg function
, private
, Dynamic block in autocomplete
, etc)git
autocompletionsfind
autocompletions added/integrations
directory added to Murex source, the aim of which is to make it easier for people to contribute autocompletions and other integrations with common command line tools (Github)ctrl
+left
/ ctrl
+right
(PC)option
+left
/ option
+right
(Mac)test
would always run first in any block, regardless of the preferred order of execution. This was because test (unit|state|config)
required altering the execution state of the shell. The drawback was that test (run|define|report)
would also run unexpectedly. This lead to hacks like try { test run * }
to force the correct order of operations. Now the parameters of test
are checked to determine when to execute the builtin.int
types couldn’t be compared against num
types with >
, >=
, <
, <=
operators^d
will not send EOF if line is not empty. The original behaviour was by design however after pressing ^d
a few too many times when I intended to press ^f
or ^r
, I decided the original design was wrongFileRef
wasn’t being set in test
. This caused some tests to fail if they called private functions~/.ssh/config
exists before trying to parse it in getHostsFile
private (used for SSH and similar tools autocompletions)config
config
)Published: 27.07.2023 at 23:12
return
): Exits current function scopeexpr
): Expressions: mathematical, string comparisons, logical operatorsevent
): Event driven programming for shell scriptsman-get-flags
): Parses man page files for command line flagsprivate
): Define a private function blockfunction
): Define a function blockround
): Round a number by a user defined precisionconfig
): Query or define Murex runtime settingstest
): Murex’s test framework - define tests, run tests and debug shell scriptsautocomplete
): Set definitions for tab-completion in the command lineint
: Whole number (primitive)num
(number): Floating point number (primitive)onCommandCompletion
: Trigger an event upon a command’s completionThis document was generated from gen/changelog/v4.4_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.