github.com/lmorg/murex@v0.0.0-20240217211045-e081c89cd4ef/gen/includes/command-types.inc.md (about)

     1  There are a few different types of commands:
     2  
     3  ### alias
     4  
     5  This will be represented in `which` and `type` by the term **alias** and, when
     6  STDOUT is a TTY, `which` will follow the alias to print what command the alias
     7  points to.
     8  
     9  ### function
    10  
    11  This is a Murex function (defined via `function`) and will be represented in
    12  `which` and `type` by the term **function**.
    13  
    14  ### private
    15  
    16  This is a private function (defined via `private`) and will be represented in
    17  `which` and `type` by the term **private**.
    18  
    19  ### builtin
    20  
    21  This is a shell builtin, like `out` and `exit`. It will be represented in
    22  `which` and `type` by the term **builtin**.
    23  
    24  ### external executable
    25  
    26  This is any other external command, such as `systemctl` and `python`. This
    27  will be represented in `which` by the path to the executable. When STDOUT is a
    28  TTY, `which` will also print the destination path of any symlinks too.
    29  
    30  In `type`, it is represented by the term **executable**.