Giter Site home page Giter Site logo

while-true-do / bash-behaviour Goto Github PK

View Code? Open in Web Editor NEW
2.0 5.0 1.0 17 KB

Some Adjustments for Bash, to provide a better behaviour.

License: BSD 3-Clause "New" or "Revised" License

Shell 100.00%
bash terminal customization adjustments behaviour

bash-behaviour's Introduction

While True Do - bash-behaviour

| Some Adjustments for Bash, to provide an improved behaviour.

Motivation

Bash is a very nice shell. Unfortunately, it needs some tuning. At least in our case, it is more useful with some adjustments.

Features

To get an overview of all features, you should check the script itself. It has a ton of comments in it. Some of the improvements are:

  • Enhance tab completion in many ways
  • Tune the behaviour of history appendings
  • Enable colors for common commands
  • Add some aliases for common commands

Requirements

The script is tested under:

  • RedHat 7.x
  • CentOS 7.x
  • Fedora 25+
  • SLES 12+
  • Arch Linux 2018+
  • Debian 9.1+

Dependencies

  • You have to use bash
  • The adjustments can work as a stand-alone, but you should consider to have a look at the bash-rpompt.

Installation

Manual Installation

You can run the installer as root for global installation or as a user for installation in your home directory.

  1. Please Download the release package from https://github.com/while-true-do/bash-behaviour/releases
  2. Unpack it via unzip
  3. Make the installer executable chmod +x install.sh
  4. Run the installer ./install.sh

Ansible Installation

For CentOS, there is a role you can use for the installation.

Testing

Currently the script is tested manually via shellcheck. An automation is not present.

Contribute / Bugs

Thank you so much for considering to contribute. Every contribution helps us. We are really happy, when somebody is joining the hard work. Please have a look at the links first.

License

This work is licensed under a BSD License.

Author Information

Site: while-true-do.org

Mail: [email protected]

bash-behaviour's People

Contributors

fiete201 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

fiete201

bash-behaviour's Issues

Behaviour of ls with symlinks

Type of Report

Enhancement

Actual behaviour

ls shows directories first. This is a good idea on graphical user interfaces, but is not so nice with symlinks, which seems to be files anyway.

Expected behaviour

The "normal" alphabetical ordering should be enabled per default.

Readme needs some love

Type of Report

Bug

Actual behaviour

Readme is outdated

Expected behaviour

New links and stuff should be shown.

Alias tunings + new opts

Type of Report

Enhancement

Actual behaviour

Some aliases are quite default or impacting a good UX.

ll -> currently shows a lot details like ls -la

Expected behaviour

ll -> show a list of files without details
shopt -s checkjobs -> check background jobs before exiting an interactive shell
watch -> should show differences per default

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.