Chapter 3: Advanced

Chapter 2 << Index >> Chapter 4




Reset Bash's History:

 Reset the bashs history.

History Control Type:

 Choose the type of history controlling:
Erasedups Remove all previous entries of a command and keep the newest
Ignoredups Save command only once and ignore all newer executions
Ignorespace Ignore all commands run with a leading space
Ignoreboth Ignoredups and Ignorespace together

History Blacklist:

 List commands, which shouldn't be logged by the Bash, here
 Separate entries with a `:', eg:
  su:sudo:exit
 in this case su, sudo and exit wouldn't be logged by the bash.

History Size:

 The Maximum number of commands and lines in the History
 in bash the number of commands and lines is separated,
 but BS-NG unifies both options.

Separator:

 When using the Separator style, this character will be used as the separator.

PS2 PS3 and PS4:

 This will be used for PS2 PS3 and PS4, affects all styles.

PWD cut char:

 The char that signalizes, that the current working directory is truncated, eg:
 if set to = truncated PWDs look like this:
  not truncated: /home/chris/Desktop/Projekte/bashstyle-ng
  truncated: =sktop/Projekte/bashstyle-ng

Maximum PWD length

 Choose the maximum length of a non-truncated working directory.

Change CDPATH:

 Set redirections for cd. eg:
  .:/usr/share:/usr  now `cd icons' will do `cd /usr/share/icons' and `cd bin' would do `cd /usr/bin'.
 Don't forget to add . to CDPATH, else you may get unwanted results!

Change Completion Blacklist:

 Choose which files to be ignored by the filename-completion, eg:
  .back:.bak:~:.old
 now pressing [TAB] for filename-completion will ignore all files with those suffixes.

Set Timeout (in seconds):

 Choose how many seconds of inactivity Bash shall wait, before logging out automatically. 0 to disable.

Change editor for fc:  Choose which editor to run, when issueing the "fc" command.

Welcome Message:

 Choose a welcome message (only if style is not Clock-Advanced or Clock), eg:
 fortune prolinux or echo Welcome Back

Path:

 An Application which is inside PATH can be run without passing the absolute path, eg:
  /bin:/usr/bin:/usr/local/bin
 say, `foo' is in /usr/bin, you could now call `foo' rather than `/usr/bin/foo'.