## Chapter 5: Extras

Chapter 4 << | Index | >> Chapter 6

### 5.1 Display number of files:

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

### 5.2 Display uptime:

Display the System's uptime [Separator Style].

### 5.3 Display size of files:

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

### 5.4 Display number of the TTY:

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

### 5.5 Display number of running hobs:

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

### 5.6 Display system load:

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

### 5.7 Display battery load:

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

### 5.8 Display Memory:

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

### 5.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.

### 5.10 Enable Tab-Rotation

Use [TAB] to rotate between possible completions.

### 5.11 Enable histappend:

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

### 5.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)

### 5.13 Enable cdable vars:

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

### 5.14 Enable checkhash:

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

### 5.15 Enable cmdhist:

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

### 5.16 Enable force fignore:

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

### 5.17 Enable histreedit:

Allow reediting of wrong history substitutions.

### 5.18 Enable no empty cmd comp.:

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

### 5.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+]

### 5.20 Enable dirspell:

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

### 5.21 Enable globstar:

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

### 5.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+]