BashStyle-NG 10.0 11


utilities-terminalBashStyle-NG is a graphical tool and function chain that lets you do more with GNU Bash


BashStyle-NG is a graphical tool and toolchain for changing the behaviour and look’n’feel of Bash, Readline, Vim, Nano and GIT.

Possibilities include:

  • Bash
    • 12 fancy pre-defined prompt styles
    • colors are customizable
    • random text color possible
    • random prompt style for each session possible
    • create your own prompt using UI
    • customizing pre-defined ones possible
    • alternatively monochrome prompts instead of colored
    • colored manpages (without using most)
    • colored output from ls and grep (matches)
    •  colors are customizable
    • rembering last visited directory (and restore upon new session)
    • customize bash history settings
    • lscd: customized variant of cd, showing content of directory after cd, can create directories that don’t exist, passing of customized ls parameters possible
    • un/setting shopts (shell options) for Bash 4.3 / 4.0-4.2 / 3.2+
    • customizable completion blacklist, timeout, welcome message and more
  • GIT
    • set GIT user name
    • set GIT mail address
    • set GIT editor for commit messages
    • set GIT colored output
  • Readline
    • un/set completion
    • un/set case sensitivity
    • un/set horizontal completion
    • un/set mark filetypes and folders
    • un/set include hidden files incompletion
    • customize almost 30 keybindings
  • VIM
    • un/set remember last position
    • un/set syntax highlighting
    • un/set auto indention
    • un/set case sensitive search
    • un/set incremental search
    • un/set display line numbers
    • un/set highlight current line/column
    • set dark or bright background
    • set line-wrap and tab-length
    • set color scheme
    • enable ruler/set ruler format
  • Nano
    • un/set search history
    • un/set syntax highlighting
    • un/set auto indention
    • un/set case sensitive search
    • fix backspace and numblock assignment
  • Extras
    • several extra functions for daily use
    • systemkit: show various system information, including cpu, system load, used/free/total ram and more
    • gitkit: various companion functions for GIT, like exporting the repo (like ’svn export‘), creating tar.gz/tar.bz2/tar.xz/.zip archives from repo, getting active branch/action/revision/revno from repo (for PS1)
    • math conversion functions: convasc, convbin, convdec, convhex, convoct, convtemp. Convert between ascii, binary, decimal, hexadecimal, octal or temperature units
    • random: create random strings (for example passwords) of various types
    • scripts for working with files: map (run a command on given files, for non-batch commands), batch (batch-perform actions on files), basefile (extract extension, filename with/without extension or filepath from full filename, similar to basename), randomfile (perform action on a random file, also has history, multiple executions support and more)
    • and several more (see /usr/share/bashstyle-ng/rc/functions/ for all)

=== Installation ===

Installation of BashStyle-NG is straight-forward. Configure and Make are Bash scripts aswell, so no other tools needed for build. For a full list of options see:

  • ./configure –help
  • ./make –help

1)    Check dependencies:    ./configure
2)    Build translations:    ./make build
3)    Install BashStyle-NG:    sudo ./make install

Alternatively you can build a package for Debian-based distributions via

1)    apt-get install fakeroot dpkg-dev
2)    dpkg-buildpackage -rfakeroot

If there are missing dependencies either Configure or dpkg-buildpackage will
tell you. Optional dependencies are marked as recommended for Debian packages.

=== Program Icons ===

BashStyle-NG uses Oxygen icons by default (supplied), but if the icons exist in your currently active GTK+ icon theme aswell, they will be used instead.

  • 32×32 pixel icons:
    • bs-ng Application logo
    • bs-ng-advanced Icon for ‚Advanced‘ category in UI
    • bs-ng-alias Icon for ‚Alias‘ category in UI
    • bs-ng-doc Icon for ‚Documentation‘ in UI
    • bs-ng-custom Icon for ‚Custom Prompt Builder‘ in UI
    • bs-ng-git Icon for ‚GIT‘ category in UI
    • bs-ng-info Icon for ‚About Dialog‘ in UI
    • bs-ng-keys Icon for ‚Keybindings Setter‘ in UI
    • bs-ng-ls Icon for ‚LS Colors‘ category in UI
    • bs-ng-nano Icon for ‚Nano Configuration‘ in UI
    • bs-ng-readline Icon for ‚Readline Configuration‘ in UI
    • bs-ng-shopts Icon for ‚Shell Options Configuration‘ in UI
    • bs-ng-style Icon for ‚Style‘ category in UI
    • bs-ng-toolbox Icon for ‚Custom Prompt Builder Toolbox‘ in UI
    • bs-ng-vim Icon for ‚VIM Configuration‘ in UI

=== GIT Access ===

You can get the latest in-development version by running:

git clone git://github.com/Nanolx/bashstyle-ng.git

=== Translations ===

  • Current Translations:
    • de (German) (Christopher Roy Bratusek)
  • New Translations:
    • Visit https://www.transifex.com/projects/p/bs-ng/ and apply for a team or request the creation of a new one.

=== Bugs ===

Visit https://gitlab.com/Nanolx/bashstyle-ng/issues

before reporting bugs please make sure that you got the latest version of BashStyle-NG.

=== Features Requests ===

If you got an Feature Request or a new Idea for BashStyle-NG, then don’t hesitate to post it! If you can provide patches, then that’s even better.

License: GNU GPL v3
Downloads:

git file-roller deb

ChangeLog:

10.0 "10th Anniversary Version"
===============================

   * Bug Fixes
        - #226 (gitkit): fix 'openhub' feature, when there is more than
          one remote.

        - #227 (bashstyle-rc): Make Bash history syncronization over
          different sessions more robust.

        - #228 (ui): Fix translation domain for user interface.

        - #229 (launcher): Fix '-p' and '-P' command line args were
          mixed up.

        - #230 (treecd): Check whether 'tree' is installed, if not,
          override the user's choice to use 'treecd' instead of 'cd'.

        - #231 (equinox): Fix missing prompt part in 'equinox' style
          when terminal has not enough lines of height to draw all
          user-requested prompt part.

        - #232 (equinox): Dynamically calculate minimum required number
          of lines in height required to draw all user-requested prompt
          parts.

        - #233 (clock): Use prompt color definitions instead of hacky
          'sed' substitutions (left-over from very (very) early
          'BashStyle-NG' versions) in the 'clock' prompt style.

        - #234 (poweruser): Use 'grep -c' instead of 'grep xx | wc -l'.

        - #235 (ayoli): Fixes and improvements for 'ayoli' prompt style.

        - #236 (custom-prompt-builder): Version of 'equinox' prompt
          style in the 'custom-prompt-builder' was bugged since the
          introduction of 'lastcommand' prompt part.

        - #237 (systemkit): 'systemkit --dirsize' was broken.

   * New Features
        - Add 'apkdump': grab information about android packages (apk)
          using aapt.

        - Add 'sufffix': fixes the suffix for given files.

        - Add 'batchrename': batch renames all files in a directory
          using the 'NNN-NAME.SUFFIX' naming scheme, where 'NNN' is the
          number of the file inside the directory (filled up with
          leading zeros if required, eg.  '01' or '001') and 'NAME' is
          given by the user.

   * Misc.  Changes
        - Minor improvements to the bashstyle launcher script.
             x minor code changes.

             x Add '-d', '--doc' command line arg to bashstyle, which
               opens the HTML documentation using 'xdg-open'.

             x Improve description of the '-P', '--python' command line
               arg of the bashstyle launcher script.

        - More versatile 'config-update-helper'.
             x Install 'bashstyle-config-helper' launcher script.

             x Add backup, restore and reset actions to
               'config-update-helper'.

             x Add '-b', '--backup' command line arg to bashstyle, which
               will backup the user configuration.

             x Add '-r', '--restore' command line arg to bashstyle,
               which will restore a previously backed up user
               configuration.

             x Add '-R', '--reset' command line arg to bashstyle, which
               will reset the user configuration to vendor values (if
               vendor configuration exists and is up to date) or factory
               values.

             x '-u', '--update' command line arg of bashstyle was not
               mentioned in '-h', '--help' message.

        - Update german translation.

        - Update 'bashstyle.1' manpage.

        - Rename 'bsng-help' to 'bashstyle-help'.

        - Remove 'check_opt', instead do a check in each script on it's
          own.

        - Improve coding style for various functions, scripts and prompt
          styles.

        - Update prompt styles in the 'custom-prompt-builder'.

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.

11 Gedanken zu “BashStyle-NG 10.0

  • ichbinder

    Hi,
    I installed the deb packet on mint but when will start bashstyle they tell me they need configobj.

    workaround was:
    sudo aptitude install python-configobj

    Br,
    ichbinder

  • Pingback: BashStyle-NG: Αλλάξτε δυνατότητες και συμπεριφορά στους editors (Readline-Vim-Nano)

  • Pingback: BashStyle-NG: Παραμετροποιήστε και κάντε περισσότερα στο τερματικό/κονσόλα

  • DeL00M

    Hello! Can’t install on ubuntu 14.04 cause of it have installed python 3.4 and bashstyle need <3.4
    Any suggestion?

  • Ruan Paes

    Can I use the BashStyle in Slackware 14.1 64?
    If yes, how I do this? How can I compile it?

    Sorry for my English.

    • Nano Autor des Beitrags

      I don’t see, why you couldn’t. There’s nothing to compile, just to check dependencies and build translations. It’s simple as:

      ./configure

      if it complains about missing dependencies you will need to install them.

      ./make build
      sudo ./make install (su -c ‚./make install‘)

      That’s it. In case of bugs in Slackware support, try again with the lastet version in the git repository. If the issue persists, you can file a bug report at https://gitlab.com/Nanolx/bashstyle-ng/issues