Chapter 4: Extras

Chapter 3 << Index >> Chapter 6




4.1 Display number of files:

 Display the amount of files in the current directory [Separator Style].

4.2 Display uptime:

 Display the System's uptime [Separator Style].

4.3 Display size of files:

 Display the size of the files in the current directory [Separator Style].

4.4 Display number of the TTY:

 Display the current TTY's number [Separator Style].

4.5 Display number of running hobs:

 Display the number of running jobs (processes) [Separator Style].

4.6 Display system load:

 Display the System Load (1 min) [Separator Style].

4.7 Display battery load:

 Display the Battery Load (using apm) [Separator Style].

4.8 Display Memory:

 Display the free or used RAM (or both) in MB [Separator Style].

4.9 Directory Indicator:

 When using truncpwd for displaying the PWD, this character is used as directory indicator,
 eg: if set to `\' it will look like: \home\chris\Desktop instead like /home/chris/Desktop.

4.10 Enable Tab-Rotation

 Use [TAB] to rotate between possible completions.

4.11 Enable histappend:

 Append new history content instead of overwriting it.
 [only if HISTCONTROL is not erasedups]

4.12 Enable cd-spell:

 Works around misstyped paths, eg:
  `cd /usr/sarhe' will still `cd /usr/share'
 (as long as the first and the last letter are correct)

4.13 Enable cdable vars:

 Treat non-existing pathnames as variables, so
 `cd HOME' would when be the same than `cd $HOME'

4.14 Enable checkhash:

 Check if hash is up-to-date, else perform a normal pathsearch.

4.15 Enable cmdhist:

 Save multi-line commands in a single history-line.

4.16 Enable force fignore:

 Completions masked by FIGNORE are also hidden if there is no other result.

4.17 Enable histreedit:

 Allow reediting of wrong history substitutions.

4.18 Enable no empty cmd comp.:

 Don't list all possible commands then pressing [TAB] on an empty prompt.

4.19 Enable autocd:

 Trying to execute a "command" that is not an executable, but the name of
 an existing directory, then cd into that directory rather than erroring.
 [Bash 4.0+]

4.20 Enable dirspell:

 This is similar to cd-spell, but for directories and only during completion.
 [Bash 4.0+]

4.21 Enable globstar:

 A new wildcard will be available: `**'. It matches everything in any directory(-depth).
 [Bash 4.0+]

4.22 Enable checkjobs:

 Exiting the shell while there are still processes in the background,
 print a warning rather than logging out and killing those processes.
 [Bash 4.0+]