Coder Social home page Coder Social logo

ninjab's Introduction

ninjab

Features

  • Tries to be as cross platform as possible.
  • Configuration for the most common needs.
  • Will set bash options to make it better to use.
  • Tries to turn on bash features which isnt enable as default (but is very usefull)
  • Colorizing the output where possible.
  • Usefull "smart" bash prompt
  • Aliases which tries to save you time and give you more info as default.
  • Creates some usefull hotkeys
  • Different parts
  • Lots more, take a look inside the files in parts/

Known issues

  • sudo su: When sudoing to root (sudo su), we will get some problems using the prompt. Therefor, a plain prompt is set when using sudo. You can use an alias called 'ss' to sudo yourself to root without this problem. 'ss' will run 'sudo bash -l' which works as expected using the prompt.

Installation

If you want easy updates, and maybe want to contribute at some point. Use this method.

Using git

  1. git clone git://github.com/xeor/ninjab.git ninjab: Clone the repository to wherever you want
  2. cp ninjab/config ~/.ninjab.conf && nano ~/.ninjab.conf: Create your own local config file and edit it.
  3. echo '. /home/username/ninjab/loader' >> ~/.profile: Make sure the loader is started with a new shell
  4. Try to start a new shell

Using RPM

  1. wget https://github.com/downloads/xeor/ninjab/ninjab-latest.noarch.rpm
  2. rpm -ivh ninjab-latest.noarch.rpm
  3. cp /usr/share/ninjab/config ~/.ninjab.conf && nano ~/.ninjab.conf: Create your own local config file and edit it.
  4. echo '. /usr/share/ninjab/loader' >> ~/.profile: Make sure the loader is started with a new shell
  5. Try to start a new shell

Configuration

ninjab looks for configuration in 4 different places, in this order.

  • config in its own directory first. Don't edit this file, may be options added in future versions.
  • /etc/ninjab.conf for global configuration.
  • config.local in its own directory. If you want any local changes use this. It wont be touched by updates.
  • ~/.ninjab.conf in your home directory.

ninjab's People

Contributors

edos avatar xeor avatar

Watchers

 avatar

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.