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
autocomplete
: Set definitions for tab-completion in the command lineconfig
: Query or define Murex runtime settingsevent
: Event driven programming for shell scriptsexpr
: Expressions: mathematical, string comparisons, logical operatorsfunction
: Define a function blockint
: Whole number (primitive)man-get-flags
: Parses man page files for command line flagsnum
(number): Floating point number (primitive)onCommandCompletion
: Trigger an event upon a command’s completionprivate
: Define a private function blockreturn
: Exits current function scoperound
: Round a number by a user defined precisiontest
: Murex’s test framework - define tests, run tests and debug shell scriptsThis 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 Thu Aug 15 14:38:34 UTC 2024 against commit 50ed9d650ed9d6df391240d3c2c02e623636e508dfcdad1.
Current version is 6.2.4000 which has been verified against tests cases.