You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
pvincent 2712ae99a7 debian_bash_upgrade fix 10 months ago
.vscode stdin debug 3 years ago
lib idem__apt_install 2 years ago
tools debian_bash_upgrade fix 10 months ago
.semver_git_tag tagged as 0.37.0 10 months ago
README.md README bindkeys 1 year ago
bash.bashrc nested miaou prompt 11 months ago
init.sh no more useless message on init 11 months ago
inputrc better inputrc 1 year ago
install.sh debian_bash_upgrade fix 10 months ago
uninstall.sh no more sudo 6 years ago
vimrc vim set paste 5 years ago

README.md

DEBIAN-BASH

DEBIAN-BASH is a collection of settings and helpers for BASH provided by Artcode. Featuring :

  • some aliases (l, ll, ltr, ...)
  • a smart prompt
    • git, lxd, failure aware
  • simple vim settings

It's Free Software (GPLv3), help yourself. Any feedback would be appreciated. contact@artcode.re

install

curl https://git.artcode.re/pvincent/debian-bash/raw/branch/master/install.sh | sudo bash -s -- --host

uninstall

  • cd /opt/debian-bash && sudo ./uninstall.sh

development mode (credentials required)

  • git clone git@artcode.re:pvincent/debian-bash.git -C ~/DEV/BASH
  • sudo ln -s $HOME/DEV/BASH/debian-bash /opt/debian-bash
  • sudo /opt/debian-bash/install.sh --host

useful library

  • source /opt/debian-bash/lib/functions.sh

bindkeys

by default

  • CTRL + C => stop program

  • CTRL + V => display bindkey

  • CTRL + Z => interrupt for background job (fg, bg)

  • SHIFT + CTRL + C => copy

  • SHIFT + CTRL + V => paste

customized

  • CTRL LEFT, RIGHT => move between words
  • CTRL DELETE, BACKSPACE => delete word
  • ALT DELETE, BACKSPACE => delete line from cursor
  • CTRL + SHIFT + / => undo