From b3c735fb2f3c7ac648495b2c5beaf0d3e1adc411 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Fri, 22 Jul 2016 04:24:44 -0400 Subject: qcd.bash-completion: Remove path variables Assume we'll get these from the main `qcd` script as currently they're sourced to the global environment. This way at least we're not repeating those lines in two places. --- qcd.bash-completion | 4 ---- 1 file changed, 4 deletions(-) (limited to 'qcd.bash-completion') diff --git a/qcd.bash-completion b/qcd.bash-completion index c42d077..c8dfc56 100644 --- a/qcd.bash-completion +++ b/qcd.bash-completion @@ -1,9 +1,5 @@ # Bash completion for the qcd() function -XDG_CONFIG_HOME=${XDG_CONFIG_HOME:-"${HOME}/.config"} -QCD_CONFIG_DIR=${QCD_CONFIG_DIR:-"${XDG_CONFIG_HOME}/qcd"} -QCD_DATABASE_FILE=${QCD_DATABASE_FILE:-"${QCD_CONFIG_DIR}/database"} - _qcd () { local cur local shortcuts=$(awk '{ print $1 }' $QCD_DATABASE_FILE) -- cgit v1.2.3