Wiki Table of Contents

HELP: Bash Config

Bash Config allows the user to make changes to the aliases and terminal prompt theming in the user’s bashrc file. NOTE: changes only affect the drop-down terminal (by default F4) after exiting it by clicking the little “x” box in the lower right-hand corner to close the tab, or by typing “exit” at the terminal prompt.

Alias

Allows the user to make changes, additions, and removals of aliases contained in the user’s bashrc file. The aliases will go into effect on the next terminal launch. Click the respective button to add or remove aliases.

Prompt

On this tab the user may make various adjustments to the terminal prompt by selecting the “Fancy Prompts” option. The options dialog will then appear with many options. Be sure to click “Apply” to have them take effect.

In particular, the date and time customizations may be confusing. A list of time and dates codes (“interpreted sequences”) can be found in this Wiki entry. See the “date” man pages for more information (man date)

The user may revert back to whatever prompt was previously the default prompt by selecting “Default”.

Tips and Tricks

  • All changes are stored in external files. Changes may be reverted totally be removing those files.
  • Prompt changes are in ~/.config/bash-config folder.
  • alias changes are in ~/.bash_aliases
  • If you would like a 1 line prompt, choose fancy and either std or color. You can add extra lines to a prompt in the prompt field with an escaped \n (in other words, \\n)
  • Spaces are accepted in the customization fields, if you want a little padding between the custom prompt and the start of command text in the terminal.

Prompts

Color
Curl
Date
Default
Dir
Fancy
Gentoo
Med
Narrow
Std
Tiny
Wide
Zee

Development history: Nite Coder, for MX Linux project

v. 20191013

Leave a Comment

Do NOT follow this link or you will be banned from the site!