remove html docs and begin inline-documentation using tooltips

parent e13910d9
......@@ -20,7 +20,6 @@ PYTHON=$(which python3 || which python)
BINDIR="$PREFIX/bin"
PCDIR="$PREFIX/share/pkgconfig/"
DATADIR="$PREFIX/share/"
DOCDIR="$DATADIR/doc/"
PROFILEDIR="/etc/"
export OLDPATH=$PATH
......@@ -38,8 +37,6 @@ export_result ()
\nLOCALEDIR=\"$DATADIR/locale/\"\
\nLOCALEDIR_LIST=( {de,es,it,ru}/LC_MESSAGES/ )\
\nICONDIR=\"$DATADIR/icons/hicolor/32x32/apps/\"\
\nDOCDIR=\"$DOCDIR/bashstyle-ng/\"\
\nDOCDIR_LIST=( img img-style )\
\nPCDIR=\"$PCDIR/\"\
\nDIRINFO_ENABLE=\"$DIRINFO_ENABLE\"\
\nBASHFILE=\"$BASHFILE\"\
......
......@@ -126,10 +126,6 @@ end_message () {
echo -e "${YELLOW}Post-Install Tasks:${WHITE}\tDisabled"
else echo -e "${YELLOW}Post-Install Tasks:${WHITE}\tEnabled"
fi
if [[ ${DISABLE_INSTALLDOCS} ]]; then
echo -e "${YELLOW}Install Documentation:${WHITE}\tNo"
else echo -e "${YELLOW}Install Documentation:${WHITE}\tYes"
fi
if [[ ${BASHFILE} ]]; then
echo -e "${YELLOW}System Bashrc:${WHITE}\t\t${BASHFILE}"
else echo -e "${YELLOW}System Bashrc:${WHITE}\t\tauto detection"
......@@ -154,7 +150,6 @@ help_message () {
\n${ORANGE}--girpath=<girpath>${WHITE} *|${GREEN} Where to look G-I typelibs (default: /usr/lib/girepository-1.0/)\
\n${ORANGE}--python=<python>${WHITE} *|${GREEN} Make BashStyle-NG use a specific python (default: /usr/bin/python)\
\n${ORANGE}--no-postinstall${WHITE} *|${GREEN} Disable post-installation tasks (for package-maintainers)\
\n${ORANGE}--no-installdocs${WHITE} *|${GREEN} Disable installation of docs (for package-maintainers)\
\n${ORANGE}--quiet${WHITE} *|${GREEN} Only display warnings, failures and results\
\n${ORANGE}--bashrc${WHITE} *|${GREEN} Path to system bashrc (for bashstyle-ng init)\
\n${ORANGE}--dirinfo=<bool>${WHITE} *|${GREEN} true: enable dirinfo wrappers, false: disable (default: disable)" | column -t -s \*
......
......@@ -16,7 +16,6 @@ substitute_values () {
-e "s>@PREFIX@>$PREFIX>g" \
-e "s>@DATADIR@>$DATADIR>g" \
-e "s>@DIRINFO_ENABLE@>$DIRINFO_ENABLE>g" \
-e "s>@DOCDIR@>$DOCDIR>g" \
-e "s>@PYTHON@>$PYTHON>g" \
-e "s>@PROFILEDIR@>$PROFILEDIR>g" -i ${IN_FILES[@]}
sed -e "s>//>/>g" -i ${IN_FILES[@]}
......
......@@ -19,12 +19,6 @@ LOCALE_FILES=( i18n/de/*.mo:${LOCALEDIR}/de/LC_MESSAGES/
i18n/it/*.mo:${LOCALEDIR}/it/LC_MESSAGES/
i18n/ru/*.mo:${LOCALEDIR}/ru/LC_MESSAGES/ )
if [[ ! ${DISABLE_INSTALLDOCS} ]]; then
DOC_FILES=( docs/*.html:${DOCDIR}
docs/img/*.png:${DOCDIR}/img
docs/img-style/*.png:${DOCDIR}/img-style )
fi
BIN_FILES=( data/bashstyle:${BINDIR}
bin-extra/*:${DATADIR}/bin
rc/functions/*:${DATADIR}/rc/functions )
......@@ -40,5 +34,4 @@ REMOVE_FILES=( ${LOCALEDIR}/{de,es,it,ru}/{bs-ng,nx-rc}.mo
${ICONDIR}/bs-ng*.png
${PCDIR}/bashstyle-ng.pc
${PROFILEDIR}/bashstyle.sh
${DOCDIR}
${DATADIR} )
......@@ -31,7 +31,7 @@ install_bsng () {
if [[ $VERBOSE == "true" ]]; then
DATA_NUM=0
for num in ${#DATA_FILES[@]} ${#LOCALE_FILES[@]} ${#DOC_FILES[@]} \
for num in ${#DATA_FILES[@]} ${#LOCALE_FILES[@]} \
${#PC_FILES[@]} ${#ICON_FILES[@]} ${PROFILE_FILES[@]}; do
DATA_NUM=$(($DATA_NUM+$num))
done
......@@ -39,7 +39,7 @@ install_bsng () {
fi
echo -e "\t${WHITE}+ ${WHITE} data files"
for file in ${DATA_FILES[@]} ${LOCALE_FILES[@]} ${DOC_FILES[@]} \
for file in ${DATA_FILES[@]} ${LOCALE_FILES[@]} \
${PC_FILES[@]} ${ICON_FILES[@]} ${PROFILE_FILES[@]}; do
if [[ $VERBOSE == "true" ]]; then
inst data "$file" $CUR_NUM $DATA_NUM
......
......@@ -14,11 +14,6 @@ installdirs_create ()
mkdir -p $DESTDIR/$LOCALEDIR/$directory/
done
mkdir -p $DESTDIR/$DOCDIR
for directory in ${DOCDIR_LIST[@]}; do
mkdir -p $DESTDIR/$DOCDIR/$directory
done
mkdir -p $DESTDIR/$BINDIR
mkdir -p $DESTDIR/$PROFILEDIR
mkdir -p $DESTDIR/$ICONDIR
......
......@@ -7,6 +7,10 @@ Overview of changes in v8.5 "Nice Sprites"
(Style for colorshell, else Advanced > Extras/GIT) after upgrade to
re-adjust your settings that got lost by this change.
* This release removes the html-documentation. Instead every options will
have a tooltip showing the name of the configuration variable (or --
if none) and the description of the setting.
=== Bug Fixes ===
* #154 (ui):
......
......@@ -26,10 +26,6 @@ while [[ $xcount -lt $pcount ]]; do
PCDIR="${1/*=}"
;;
--docdir=* )
DOCDIR="${1/*=}"
;;
--profiledir=* )
PROFILEDIR="${1/*}"
;;
......@@ -71,10 +67,6 @@ while [[ $xcount -lt $pcount ]]; do
echo "DISABLE_POSTINSTALL=1" >> $PWD/.configure/results
;;
--no-installdocs )
DISABLE_INSTALLDOCS=1
echo "DISABLE_INSTALLDOCS=1" >> $PWD/.configure/results
;;
esac
shift
xcount=$(($xcount+1))
......
......@@ -21,7 +21,6 @@ case $1 in
export BSNG_UI_PREFIX="@PREFIX@"
export BSNG_UI_VERSION="@VERSION@"
export BSNG_DATADIR="@DATADIR@"
export BSNG_DOCDIR="@DOCDIR@"
export PYTHONPATH="$PYTHONPATH:@DATADIR@/bashstyle-ng/ui/"
@PYTHON@ $PWD/ui/bs-ng.py $@
......
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>BashStyle-NG 7.12 Doc / Installation</title>
<body>
<h2 align="center"><font color="#00A8FF">Chapter 0: Installation</font></h2>
<table border=0 align=center>
<tr>
<td>------- - &lt;&lt;</td>
<td><a href="index.html">Index</a></td>
<td><a href="chapter01.html">&gt;&gt; Chapter 1</a></td>
</tr>
</table>
</head>
<hr><br>
<h3><font color="#FBA330">0.0 Installation:</font></h3>
Installing BashStyle-NG is quite easy. First check the dependencies<br>
with: <font color="35a90c">`./configure'</font>, then build all necessary files via: <font color="35a90c">`make'</font>.<br>
<br>
The last step is to install it, use either <font color="FB4330">`sudo make install'</font> or<br>
<font color="FB4330">`su -c "make install"'</font>.<br>
<h3><font color="#FBA330">0.1 Configure Options</font></h3>
The configure-script BashStyle-NG comes with, is not a common autotools-based one;<br>
instead it's a very modular bash script I've written.<br><br>
You can pass a small set of options to it, see ./configure --help<br><br>
Same goes for <font color="35a90c">`./make'</font>, which is also a self-written bash-script<br><br>
</body>
</html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>BashStyle-NG 7.12 Doc / Style Settings</title>
</head>
<body>
<h2 align="center"><font color="#00A8FF">Chapter 1: Style Settings</font></h2>
<table border=0 align=center>
<tr>
<td><a href="chapter00.html">Chapter 0 &lt;&lt;</a></td>
<td><a href="index.html">Index</a></td>
<td><a href="chapter02.html">&gt;&gt; Chapter 2</a></td>
</tr>
</table>
<hr><br>
<img src="img/bs-ng-style.png"><p />
<h3><font color="#FBA330">1.0 Use BashStyle-NG:</font></h3>
This enables BashStyle-NG and let's it manage your bash.
<h3><font color="#FBA330">1.1 Colored Prompts:</font></h3>
This enables colorful bashprompts. Else they'll become monochrome.<br>
<h3><font color="#FBA330">1.2 Colored ls output:</font></h3>
This will color the output of <font color="35a90c">`ls'</font> according to
<a href="./chapter11.html">$LS_COLORS</a>.<p />
<img src="img-style/bs-ng-ls.png">
<h3><font color="#FBA330">1.3 Change Color Style:</font></h3>
Choose the way colors are drawn:<p />
<table border="1">
<tr>
<td>Normal</td>
<td>example</td>
</tr>
<tr>
<td>Bold</td>
<td><b>example</b></td>
</tr>
<tr>
<td>Dimmed</td>
<td><font color="#CCCCCC">example</font></td>
</tr>
<tr>
<td>Inverted</td>
<td><font style="background-color:#000000" color="#FFFFFF">example</font></td>
</tr>
<tr>
<td width="60%">Underlined</td>
<td width="40%"><u>example</u></td>
</tr>
</table>
<h3><font color="#FBA330">1.4 Colored Manpages:</font></h3>
Enables the use of a special terminfo file, which will color manpages.<br>
<h3><font color="#FBA330">1.5 Terminfo for Manpages:</font></h3>
Choose which terminfo-file to use for coloring man pages:<p />
<h4><font color="#GAA330">1.5.0 Terminfo: Mostlike</font></h4>
<img src="img-style/bs-ng-mostlike.png"><p />
<h4><font color="#GAA330">1.5.1 Terminfo: Bold</font></h4>
<img src="img-style/bs-ng-bold.png"><p />
<h4><font color="#GAA330">1.5.2 Terminfo: Nebula</font></h4>
<img src="img-style/bs-ng-nebula.png"><p />
<h3><font color="#FBA330">1.6 Colored grep output:</font></h3>
When enabled, grep colors it's output.<p />
<img src="img-style/bs-ng-grep.png"><p />
<h3><font color="#FBA330">1.7 Choose Grep Color:</font></h3>
Choose the color for matching words in greps output.<p />
<h3><font color="#FBA330">1.8 Choose Color to Change/Change Color to:</font></h3>
Choose a part of the prompt and change it's color.<br>
<h3><font color="#FBA330">1.9 Use random style:</font></h3>
Choose a random style at start up.<p />
<h3><font color="#FBA330">1.10 Choose Style:</font></h3>
Choose what style to use for your Bashprompt<br>
Available Styles:<p />
<h4><font color="#GAA330">1.10.0 Style: Separator</font></h4>
<tt>[This Style has Options on the <a href="./chapter05.html">`Extras'-Page</a>]</tt><p />
<img src="img-style/bs-ng-separator.png"><p />
<h4><font color="#GAA330">1.10.1 Style: Vector</font></h4>
<img src="img-style/bs-ng-vector.png"><p />
<h4><font color="#GAA330">1.10.2 Style: Floating Clock</font></h4>
<img src="img-style/bs-ng-floating-clock.png"><p />
<h4><font color="#GAA330">1.10.3 Style: Clock-Advanced</font></h4>
<img src="img-style/bs-ng-clock-advanced.png"><p />
<h4><font color="#GAA330">1.10.4 Style: Elite</font></h4>
<img src="img-style/bs-ng-elite.png"><p />
<h4><font color="#GAA330">1.10.5 Style: PowerUser</font></h4>
<img src="img-style/bs-ng-poweruser.png"><p />
<h4><font color="#GAA330">1.10.6 Style: Dirks</font></h4>
<img src="img-style/bs-ng-dirks.png"><p />
<h4><font color="#GAA330">1.10.7 Style: .Prompt</font></h4>
<img src="img-style/bs-ng-dot-prompt.png"><p />
<h4><font color="#GAA330">1.10.8 Style: Sepa-NG</font></h4>
<img src="img-style/bs-ng-sepa-ng.png"><p />
<h4><font color="#GAA330">1.10.9 Style: Quirk</font></h4>
<img src="img-style/bs-ng-quirk.png"><p />
<h4><font color="#GAA330">1.10.10 Style: Sputnik</font></h4>
<img src="img-style/bs-ng-sputnik.png">
<h4><font color="#GAA330">1.10.11 Style: Ayoli</font></h4>
<img src="img-style/bs-ng-ayoli.png">
</body>
</html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>BashStyle-NG 7.12 Doc / Alias Settings</title>
</head>
<body>
<h2 align="center"><font color="#00A8FF">Chapter 2: Alias Settings</font></h2>
<table border=0 align=center>
<tr>
<td><a href="chapter01.html">Chapter 1 &lt;&lt;</a></td>
<td><a href="index.html">Index</a></td>
<td><a href="chapter03.html">&gt;&gt; Chapter 3</a></td>
</tr>
</table>
<hr><br>
<img src="img/bs-ng-aliases.png" border="0" alt=""><p />
<h3><font color="#FBA330">2.0 Aliases</font></h3>
Aliases allow a string to be substituted for a word when it is used as the first word of a simple command.<p />
<b>Example:</b> ..=cd ../<p />
Now then issuing <font color="35a90c">`..'</font>, <font color="35a90c">`cd ../'</font> will be executed instead.<p />
<i>(<font color="#E173E4"><b>Note:</b></font> Define Aliases in BashStyle-NG without <b>'</b> or <b>"</b> characters!)</i><p />
<h3><font color="#FBA330">2.1 Default Aliases</font></h3>
A set of aliases, set by default, regardless of user settings:<p />
<font color="35a90c">`reload'</font> -- <font color="35a90c">`source ~/.bashrc'</font> -- reloads bash-configuration<br>
<font color="35a90c">`rd'</font> -- <font color="35a90c">`pwd -P'</font> -- if the current directory is a symlink, <font color="35a90c">`cd'</font> into the real directory<br>
<font color="35a90c">`ls'</font> -- <font color="35a90c">`ls -CF --color=USERSETTING --group-directories-first'</font> -- <font color="35a90c">`ls'</font> with color (if user-set), display directories before files*<p />
* for more <font color="35a90c">`ls'</font> variants, check <a href="./chapter08.html">Chapter 08</a>.
</body>
</html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>BashStyle-NG 7.12 Doc / Chapter 3</title>
</head>
<body>
<h2 align="center"><font color="#00A8FF">Chapter 3: Advanced</font></h2>
<table border=0 align=center>
<tr>
<td><a href="chapter02.html">Chapter 2 &lt;&lt;</a></td>
<td><a href="index.html">Index</a></td>
<td><a href="chapter04.html">&gt;&gt; Chapter 4</a></td>
</tr>
</table>
<hr><br>
<img src="img/bs-ng-adv.png" border="0" alt=""><br><br>
<h3><font color="#FBA330">3.0 Reset Bash's History:</font></h3>
&nbsp;Reset the bash history.<br><br>
<h3><font color="#FBA330">3.1 History Control Type:</font></h3>
&nbsp;Choose the type of history controlling:<br>
<table border="1">
<tr>
<td>Erasedups</td>
<td>Remove all previous entries of a command and keep the newest</td>
</tr>
<tr>
<td>Ignoredups</td>
<td>Save command only once and ignore all newer executions</td>
</tr>
<tr>
<td width="25%">Ignorespace</td>
<td>Ignore all commands run with a leading space</td>
</tr>
<tr>
<td>Ignoreboth</td>
<td>Ignoredups and Ignorespace together</td>
</tr>
</table>
<h3><font color="#FBA330">3.2 History Blacklist:</font></h3>
&nbsp;List commands, which shouldn't be logged by the Bash, here<br>
&nbsp;Separate entries with a <b>`:'</b>, eg:<br>
&nbsp;&nbsp;su:sudo:exit<br>
&nbsp;in this case su, sudo and exit wouldn't be logged by the bash.<br><br>
<h3><font color="#FBA330">3.3 History Size:</font></h3>
&nbsp;The Maximum number of commands and lines in the History.<br>
&nbsp;In bash the number of commands and lines is separated,<br>
&nbsp;but BS-NG unifies both options.<br><br>
<h3><font color="#FBA330">3.4 Separator:</font></h3>
&nbsp;When using the Separator style, this character(s) will be used as the separator.<br><br>
<h3><font color="#FBA330">3.5 PS2 PS3 and PS4:</font></h3>
&nbsp;This will be used for PS2 PS3 and PS4, affects all styles.<br>
&nbsp;PS2/3/4 are additional prompts. PS2 is used when breaking long commands<br>
&nbsp;over several lines, PS3 is used by built-in set and PS4 for example by rpmbuild<br>
&nbsp;The character is multiplied for each increasement, eg: if set to `+', it would be<br>
&nbsp;`+' for PS2, `++' for PS3 and `+++' for PS4<br><br>
<h3><font color="#FBA330">3.6 PWD cut char:</font></h3>
&nbsp;The char that signalizes that the current working directory is truncated, eg<br>
&nbsp;if set to `=' truncated PWDs look like this:<br>
&nbsp;&nbsp;not truncated: /home/chris/Desktop/Projekte/bashstyle-ng<br>
&nbsp;&nbsp;truncated: <b>=</b>sktop/Projekte/bashstyle-ng<br><br>
<h3><font color="#FBA330">3.7 Maximum PWD length</font></h3>
&nbsp;Choose the maximum length of a non-truncated working directory.<br><br>
<h3><font color="#FBA330">3.8 Change CDPATH:</font></h3>
&nbsp;Set redirections for cd. eg:<br>
&nbsp;&nbsp;.:/usr/share:/usr
&nbsp;now `cd icons' will do `cd /usr/share/icons' and `cd bin' would do `cd /usr/bin'.<br>
&nbsp;Don't forget to add . to CDPATH, else you may get unwanted results!<br><br>
<h3><font color="#FBA330">3.9 Change Completion Blacklist:</font></h3>
&nbsp;Choose which files to be ignored by the filename-completion, eg:<br>
&nbsp;&nbsp;.back:.bak:~:.old<br>
&nbsp;now pressing [TAB] for filename-completion will ignore all files with those suffixes.<br><br>
<h3><font color="#FBA330">3.10 Set Timeout (in seconds):</font></h3>
&nbsp;Choose how many seconds of inactivity Bash shall wait, before logging out automatically. 0 to disable.<br><br
<h3><font color="#FBA330">3.11 Change editor for fc:</font></h3>
&nbsp;Choose which editor to run, when issuing the `fc' command.<br><br>
<h3><font color="#FBA330">3.12 Welcome Message:</font></h3>
&nbsp;Choose a welcome message (only if style is not Clock-Advanced or Clock), eg:<br>
&nbsp;<b>fortune prolinux</b> or <b>echo Welcome Back</b><br>
<h3><font color="#FBA330">3.13 PATH:</font></h3>
&nbsp;An Application which is inside PATH can be run without passing the absolute path, eg:<br>
&nbsp;&nbsp;/bin:/usr/bin:/usr/local/bin<br>
&nbsp;say, `foo' is in /usr/bin, you could now call `foo' rather than `/usr/bin/foo'.
</body>
</html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>BashStyle-NG 7.12 Doc / Chapter 4</title>
</head>
<body>
<h2 align="center"><font color="#00A8FF">Chapter 4: Extras</font></h2>
<table border=0 align=center>
<tr>
<td><a href="chapter03.html">Chapter 3 &lt;&lt;</a></td>
<td><a href="index.html">Index</a></td>
<td><a href="chapter06.html">&gt;&gt; Chapter 6</a></td>
</tr>
</table>
<hr><br>
<img src="img/bs-ng-extra.png" border="0" alt=""><br><br>
<h3><font color="#FBA330">4.1 Display number of files:</font></h3>
&nbsp;Display the amount of files in the current directory [Separator Style].<br><br>
<h3><font color="#FBA330">4.2 Display uptime:</font></h3>
&nbsp;Display the System's uptime [Separator Style].<br><br>
<h3><font color="#FBA330">4.3 Display size of files:</font></h3>
&nbsp;Display the size of the files in the current directory [Separator Style].<br><br>
<h3><font color="#FBA330">4.4 Display number of the TTY:</font></h3>
&nbsp;Display the current TTY's number [Separator Style].<br><br>
<h3><font color="#FBA330">4.5 Display number of running hobs:</font></h3>
&nbsp;Display the number of running jobs (processes) [Separator Style].<br><br>
<h3><font color="#FBA330">4.6 Display system load:</font></h3>
&nbsp;Display the System Load (1 min) [Separator Style].<br><br>
<h3><font color="#FBA330">4.7 Display battery load:</font></h3>
&nbsp;Display the Battery Load (using apm) [Separator Style].<br><br>
<h3><font color="#FBA330">4.8 Display Memory:</font></h3>
&nbsp;Display the free or used RAM (or both) in MB [Separator Style].<br><br>
<h3><font color="#FBA330">4.9 Directory Indicator:</font></h3>
&nbsp;When using truncpwd for displaying the PWD, this character is used as directory indicator,<br>
&nbsp;eg: if set to `\' it will look like: \home\chris\Desktop instead like /home/chris/Desktop.<br><br>
<h3><font color="#FBA330">4.10 Enable Tab-Rotation</font></h3>
&nbsp;Use [TAB] to rotate between possible completions.<br><br>
<h3><font color="#FBA330">4.11 Enable histappend:</font></h3>
&nbsp;Append new history content instead of overwriting it.<br>
&nbsp;[only if HISTCONTROL is not erasedups]<br><br>
<h3><font color="#FBA330">4.12 Enable cd-spell:</font></h3>
&nbsp;Works around misstyped paths, eg:<br>
&nbsp;&nbsp;`cd /usr/sarhe' will still `cd /usr/share'<br>
&nbsp;(as long as the first and the last letter are correct)<br><br>
<h3><font color="#FBA330">4.13 Enable cdable vars:</font></h3>
&nbsp;Treat non-existing pathnames as variables, so<br>
&nbsp;`cd HOME' would when be the same than `cd $HOME'<br><br>
<h3><font color="#FBA330">4.14 Enable checkhash:</font></h3>
&nbsp;Check if hash is up-to-date, else perform a normal pathsearch.<br><br>
<h3><font color="#FBA330">4.15 Enable cmdhist:</font></h3>
&nbsp;Save multi-line commands in a single history-line.<br><br>
<h3><font color="#FBA330">4.16 Enable force fignore:</font></h3>
&nbsp;Completions masked by FIGNORE are also hidden if there is no other result.<br><br>
<h3><font color="#FBA330">4.17 Enable histreedit:</font></h3>
&nbsp;Allow reediting of wrong history substitutions.<br><br>
<h3><font color="#FBA330">4.18 Enable no empty cmd comp.:</font></h3>
&nbsp;Don't list all possible commands then pressing [TAB] on an empty prompt.<br><br>
<h3><font color="#FBA330">4.19 Enable autocd:</font></h3>
&nbsp;Trying to execute a "command" that is not an executable, but the name of<br>
&nbsp;an existing directory, then cd into that directory rather than erroring.<br>
&nbsp;[Bash 4.0+]<br><br>
<h3><font color="#FBA330">4.20 Enable dirspell:</font></h3>
&nbsp;This is similar to cd-spell, but for directories and only during completion.<br>
&nbsp;[Bash 4.0+]<br><br>
<h3><font color="#FBA330">4.21 Enable globstar:</font></h3>
&nbsp;A new wildcard will be available: `**'. It matches everything in any directory(-depth).<br>
&nbsp;[Bash 4.0+]<br><br>
<h3><font color="#FBA330">4.22 Enable checkjobs:</font></h3>
&nbsp;Exiting the shell while there are still processes in the background,<br>
&nbsp;print a warning rather than logging out and killing those processes.<br>
&nbsp;[Bash 4.0+]<br><br>
</body>
</html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>BashStyle-NG 7.12 Doc / Chapter 5</title>
</head>
<body>
<h2 align="center"><font color="#00A8FF">Chapter 5: Readline</font></h2>
<table border=0 align=center>
<tr>
<td><a href="chapter04.html">Chapter 4 &lt;&lt;</a></td>
<td><a href="index.html">Index</a></td>
<td><a href="chapter06.html">&gt;&gt; Chapter 6</a></td>
</tr>
</table>
<hr><br>
<img src="img/bs-ng-readline.png" border="0" alt=""><br><br>
<h3><font color="#FBA330">5.0 Use ReadlineCFG:</font></h3>
&nbsp;Let BS-NG setup Readline.<br><br>
<h3><font color="#FBA330">5.1 Enable Completion:</font></h3>
&nbsp;Enable Filename/Pathcompletion by pressing [TAB].<br><br>
<h3><font color="#FBA330">5.2 Change Bellstyle:</font></h3>
&nbsp;Change the Bellstyle of readline<br><br>
<table border="1">
<tr>
<td width="60%">audible</td>
<td width="40%">beep</td>
</tr>
<tr>
<td>visible</td>
<td><blink>blink</blink></td>
</tr>
<tr>
<td>none</td>
<td>----</td>
</tr>
</table>
<h3><font color="#FBA330">5.3 Choose Editing Mode:</font></h3>
&nbsp;Whether to use Emacs or Vi like shortcuts<br>
&nbsp;Bashs default setting is Emacs<br><br>
<h3><font color="#FBA330">5.4 Show matches if ambiguous:</font></h3>
&nbsp;Instead of ringing the bell, immediately all<br>
&nbsp;possibilities for completion are shown.<br><br>
<h3><font color="#FBA330">5.5 Match hidden files:</font></h3>
&nbsp;Include hidden files in the completion.<br><br>
<h3><font color="#FBA330">5.6 Ignore case:</font></h3>
&nbsp;Let completion ignore upper and lowercase.<br><br>
<h3><font color="#FBA330">5.7 Completion Query Items:</font></h3>
&nbsp;When pressing [TAB] for completion, this is the query limit.<br>
&nbsp;If the amount of possible completions is higher or equal to<br>
&nbsp;this value ask the user whether to display all completions.<br><br>
<h3><font color="#FBA330">5.8 Show stats:</font></h3>
&nbsp;Display stats when completing file names.<br><br>
<table border="1">
<tr>
<td>&nbsp;@&nbsp;</td>
<td>&nbsp;= link&nbsp;</td>
</tr>
<tr>
<td>&nbsp;/&nbsp;</td>
<td>&nbsp;= folder&nbsp;</td>
</tr>
<tr>
<td width="20%">&nbsp;*&nbsp;</td>
<td width="80%">&nbsp;= executable&nbsp;</td>
</tr>
</table>
<h3><font color="#FBA330">5.9 Horizontal completion:</font></h3>
&nbsp;Arrange completion possibilities horizontally rather than vertically.<br><br>
<h3><font color="#FBA330">5.10 Mark directories:</font></h3>
&nbsp;Completion marks directories with a `/', that saves one time pressing [TAB].<br><br>
<h3><font color="#FBA330">5.11 Mark symbolic directories:</font></h3>
&nbsp;The same as `Mark Directories', but for symbolic links.<br><br>
<h3><font color="#FBA330">5.12 Scroll horizontally:</font></h3>
&nbsp;Scroll the line horizontally, rather than entering a new line,<br>
&nbsp;if the command is too long to be displayed in one line.<br><br>
<h3><font color="#FBA330">5.13 Mark modified history lines:</font></h3>
&nbsp;When cycling trough previously ran commands, mark modified<br>
&nbsp;history lines by prepending an asterisk (*).
</body>
</html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>BashStyle-NG 7.12 Doc / Chapter 7</title>
</head>
<body>
<h2 align="center"><font color="#00A8FF">Chapter 7: Custom</font></h2>
<table border=0 align=center>
<tr>
<td><a href="chapter05.html">Chapter 5 &lt;&lt;</a></td>
<td><a href="index.html">Index</a></td>
<td><a href="chapter08.html">&gt;&gt; Chapter 8</a></td>
</tr>
</table>
<hr><br>
<img src="img/bs-ng-custom.png" border="0" alt=""><br><br>
<h3><font color="#FBA330">7.1 Use a custom prompt</font></h3>
&nbsp;Use the custom prompt set up here.<br><br>
<h3><font color="#FBA330">7.2 Choose Style to modify</font></h3>
&nbsp;Insert an internal style, to modify it.<br><br>
<h3><font color="#FBA330">7.3 Insert Symbolic Color</font></h3>
&nbsp;BashStyle-NG uses `symbolic colors', which you can adjust, eg $usercolor.<br>
&nbsp;Use this to put some in your prompt. Unless like adding color-codes<br>
&nbsp;directly, this gives you the opportunity to change the colors via BS-NG.<br>
&nbsp;For more notes on colors, see 7.7<br><br>
<h3><font color="#FBA330">7.4 PS1</font></h3>
&nbsp;Put your prompt here.<br><br>
<h3><font color="#FBA330">7.5 PROMPT_COMMAND</font></h3>
&nbsp;Put your PROMPT_COMMAND (anything to be done before PS1) here.<br><br>
&nbsp;<b><i><font color="#E173E4">Note:</b></font> You can't use colors directly with echo!<br>
&nbsp;You have to prepend `e' to them, eg: $ewhite instead of $white.</i></br><br>
<h3><font color="#FBA330">7.6 Show Toolbox</font></h3>
&nbsp;Open the toolbox for adding usefull stuff to your prompt.<br><br>
<h3><font color="#FBA330">7.6.1 Standard Stuff</font></h3>
&nbsp;Built-in stuff for your prompt<br>
<ul>
<li>Username: your username</li>
<li>Hostname: your machines hostname (cut at the `.')</li>
<li>Full Hostname: your machines hostname</li>
<li>Time: current time</li>
<li>Date: current date</li>
<li>$: displays `$' if you're an ordinary user, `#' if you're root</li>
<li>Full Workdir: complete working directory (eg: /home/chris/Desktop/test/)</li>
<li>Base Workdir: current directory (eg: test)</li>
<li>Effective User ID: your user id</li>
<li>Background Processes: number of processes running in the background</li>
<li>Command Number [History]: number of the current command (in history)</li>
<li>Command Number [Session]: number of the current command (in current session)</li>
<li>Bash's Process ID: process id of bash</li>
<li>Shell Level: the shell level (each sub-shell increases it by 1)</li>
<li>Time since Bash started: self-explaining</li>
</ul><br>
<h3><font color="#FBA330">7.6.2 BashStyle-NG Stuff</font></h3>
&nbsp;Put Stuff provided by BashStyle-NG into your prompt<br>
&nbsp;See <a href="chapter08.html">Chapter 8</a> for more infos on that.<br><br>
<h3><font color="#FBA330">7.7 Colors</font></h3>
&nbsp;List of available colors:<br>
<ul>
<li>black</li>
<li>red</li>
<li>green</li>
<li>yellow</li>
<li>blue</li>
<li>magenta</li>
<li>cyan</li>