bash: add distrobox alias

This commit is contained in:
buffet 2023-09-19 13:09:09 +02:00
parent 69088aebab
commit 68e945802d

View file

@ -1,13 +1,13 @@
shopt -s cdspell checkjobs extglob globstar histappend nocaseglob shopt -s cdspell checkjobs extglob globstar histappend nocaseglob
HISTCONTROL=erasedups:ignorespace HISTCONTROL=erasedups:ignorespace
alias db=distrobox
alias mkdir='mkdir -p' alias mkdir='mkdir -p'
alias rg='rg -S' alias rg='rg -S'
bind '"\C-o": "\C-a\C-k fg; if [[ $? == 1 ]]; then nvim; fi\n"' bind '"\C-o": "\C-a\C-k fg; if [[ $? == 1 ]]; then nvim; fi\n"'
bind '"\e\C-m": "\C-e | nvim\C-m"' bind '"\e\C-m": "\C-e | nvim\C-m"'
__prompt() { __prompt() {
local status="$?" local status="$?"
local row local row