Giter Site home page Giter Site logo

cute-bash's Introduction

Cute-bash

Useful default settings for bash in one file

image

Features

  • One file. Easy installation
  • Includes bash-sensible:
    • Smarter tab completion
    • Saner history defaults
    • Mod: persistent history
    • Faster file system navigation
  • Includes bash-powerline
    • Short and informative promt
    • Git: show branch name, tag name, or unique short hash
    • Git: show numbers of commits ahead of remote/behind remote
    • Use Bash builtin when possible to reduce delay. Delay sucks!
    • Platform-dependent prompt symbols
    • Mod: Shows the hostname when logging in via ssh
  • Colored less
  • Uses user aliases(and other settings) from ~/.bash-user
  • Alias mkcd - make and change directory at once
  • Alias t - tmux attach or new session with mouse support
  • Aliases ls, la, l, gitlog, gittree
  • Universal commands for extracting(extract), list and packing(pk) archives
  • Will use bash-completion, if installed
  • Will provide new commands cd and fkill, if fzf installed
  • Automatically downloads and uses LS_COLORS (Screenshot)
  • Automatically downloads and uses complete_alias
  • On each login will notify if tmux session available

Installation

Per user: wget https://raw.githubusercontent.com/Jipok/Cute-bash/master/.bashrc -O ~/.bashrc

System-wide(debian, arch):

wget https://raw.githubusercontent.com/Jipok/Cute-bash/master/.bashrc -O /etc/bash.bashrc
mkdir /etc/bash
wget "https://raw.githubusercontent.com/trapd00r/LS_COLORS/master/LS_COLORS" -O /etc/bash/ls_colors
wget "https://raw.githubusercontent.com/cykerway/complete-alias/master/complete_alias" -O /etc/bash/complete_alias

System-wide(void linux):

wget https://raw.githubusercontent.com/Jipok/Cute-bash/master/.bashrc -O /etc/bash/bashrc
wget "https://raw.githubusercontent.com/trapd00r/LS_COLORS/master/LS_COLORS" -O /etc/bash/ls_colors
wget "https://raw.githubusercontent.com/cykerway/complete-alias/master/complete_alias" -O /etc/bash/complete_alias

Of course this will replace the original files if they were. Also recommend sudo rm /etc/skel/.bashrc

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.