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 89c411304a alias sudo 11 months ago
.vscode stdin debug 3 years ago
lib idem__apt_install 2 years ago
tools better inputrc 1 year ago
.semver_git_tag tagged as 0.36.0 1 year ago
README.md README bindkeys 1 year ago
bash.bashrc alias sudo 11 months ago
init.sh root required for init.sh 2 years ago
inputrc better inputrc 1 year ago
install.sh better inputrc 1 year 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