From c614342852b7986fb910a7abac695415ccb1116b Mon Sep 17 00:00:00 2001 From: Nemo Date: Sun, 5 Jan 2020 13:41:29 +0530 Subject: [PATCH] Adds pass auto-completion --- files/bash/.bashrc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/files/bash/.bashrc b/files/bash/.bashrc index a985dd8..3e94fff 100644 --- a/files/bash/.bashrc +++ b/files/bash/.bashrc @@ -157,10 +157,11 @@ function inotifytop() { } if [[ -f /etc/bash_completion ]] && ! shopt -oq posix; then - . /etc/bash_completion + . /etc/bash_completion fi -if [[ -f /etc/bash_completion ]] && ! shopt -oq posix; then - . /etc/bash_completion + +if [[ -f /usr/share/bash-completion/completions/pass ]] && ! shopt -oq posix; then + . /usr/share/bash-completion/completions/pass fi function smallmkv() { ffmpeg -i "$1" -b 1000k -acodec libmp3lame -vcodec libx264 -ar 44100 -ab 56k -ac 2 -vpre fast -crf 24 \ "$1.mkv" ;}