github.com/lmorg/murex@v0.0.0-20240217211045-e081c89cd4ef/docs/commands/autoglob.md (about) 1 # `@g` (autoglob) 2 3 > Command prefix to expand globbing (deprecated) 4 5 ## Description 6 7 **This feature is now deprecated and only applies to murex version 2:** 8 9 By default Murex does not expand globbing (`*` and `?` wildcards) instead 10 encouraging the use of `g` (and similar) inside a subshell. While the aim of 11 this is to promote correctness, it can be a little annoying while working in 12 the interactive shell. For this reason you can prefix any command with `@g` to 13 enable Bash-like globbing. 14 15 ## Usage 16 17 ``` 18 @g command ... 19 ``` 20 21 ## Examples 22 23 ``` 24 @g echo * 25 ``` 26 27 ## Detail 28 29 As of Murex `2.9` and above it is possible to enable automatic globbing in 30 the interactive shell without having to prefix the command with `@g` by 31 enabling the following `config` option: 32 33 ``` 34 config: set shell auto-glob true 35 ``` 36 37 It is enabled by default on from version 3.x onwards (and renamed to 38 `expand-glob`) 39 40 ## See Also 41 42 * [Profile Files](../user-guide/profile.md): 43 A breakdown of the different files loaded on start up 44 * [`config`](../commands/config.md): 45 Query or define Murex runtime settings 46 * [`f`](../commands/f.md): 47 Lists or filters file system objects (eg files) 48 * [`g`](../commands/g.md): 49 Glob pattern matching for file system objects (eg `*.txt`) 50 * [`rx`](../commands/rx.md): 51 Regexp pattern matching for file system objects (eg `.*\\.txt`) 52 53 <hr/> 54 55 This document was generated from [lang/expressions/noglob/autoglob_doc.yaml](https://github.com/lmorg/murex/blob/master/lang/expressions/noglob/autoglob_doc.yaml).