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 8500824785 ssu + ssu4 aliases 1 year ago
.vscode stdin debug 3 years ago
lib idem__apt_install 1 year ago
tools better inputrc 1 year ago
.semver_git_tag tagged as 0.35.1 1 year ago
README.md README bindkeys 1 year ago
bash.bashrc ssu + ssu4 aliases 1 year ago
init.sh root required for init.sh 1 year ago
inputrc better inputrc 1 year ago
install.sh better inputrc 1 year 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