Skip to main content

@g (autoglob)

Laurence MorganLess than 1 minute

@g (autoglob)

Command prefix to expand globbing (deprecated)


This feature is now deprecated and only applies to murex version 2:

By default Murex does not expand globbing (* and ? wildcards) instead encouraging the use of g (and similar) inside a subshell. While the aim of this is to promote correctness, it can be a little annoying while working in the interactive shell. For this reason you can prefix any command with @g to enable Bash-like globbing.


@g command ...


@g echo *


As of Murex 2.9 and above it is possible to enable automatic globbing in the interactive shell without having to prefix the command with @g by enabling the following config option:

config: set shell auto-glob true

It is enabled by default on from version 3.x onwards (and renamed to expand-glob)

See Also

  • Profile Files: A breakdown of the different files loaded on start up
  • config: Query or define Murex runtime settings
  • f: Lists or filters file system objects (eg files)
  • g: Glob pattern matching for file system objects (eg *.txt)
  • rx: Regexp pattern matching for file system objects (eg .*\\.txt)

This document was generated from lang/expressions/noglob/autoglob_doc.yamlopen in new window.

Last update:
Contributors: Laurence Morgan