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 0b9780e0f1 tagged as 0.37.5 8 months ago
.vscode stdin debug 3 years ago
lib idem__apt_install 1 year ago
tools fix debian-bash-upgrade 8 months ago
.semver_git_tag tagged as 0.37.5 8 months ago
README.md README bindkeys 1 year ago
bash.bashrc nested miaou prompt 10 months ago
init.sh no more useless message on init 10 months ago
inputrc better inputrc 1 year ago
install.sh fix debian-bash-upgrade 8 months ago
uninstall.sh no more sudo 5 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