From b787b8c556c63eb8adfe1a8e44524efdf917ccdc Mon Sep 17 00:00:00 2001 From: David O'Shaughnessy Date: Mon, 4 Jun 2018 16:44:40 +1000 Subject: use instead of hardcoded path for SBo repo --- completions/zsh/_sbofind | 2 +- completions/zsh/_sboinstall | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/completions/zsh/_sbofind b/completions/zsh/_sbofind index 9ca4bc0..b2c4d05 100644 --- a/completions/zsh/_sbofind +++ b/completions/zsh/_sbofind @@ -12,7 +12,7 @@ else fi # grab a listing of all slackbuilds -slackbuilds=( ${(uf)"$(grep 'SLACKBUILD NAME: ' /usr/sbo/repo/SLACKBUILDS.TXT | cut -b 18-)"} ) +slackbuilds=( ${(uf)"$(grep 'SLACKBUILD NAME: ' $repo/SLACKBUILDS.TXT | cut -b 18-)"} ) _arguments -s \ - info \ diff --git a/completions/zsh/_sboinstall b/completions/zsh/_sboinstall index 5baf368..30bf590 100644 --- a/completions/zsh/_sboinstall +++ b/completions/zsh/_sboinstall @@ -12,7 +12,7 @@ else fi # grab a listing of all slackbuilds -slackbuilds=( ${(uf)"$(grep 'SLACKBUILD NAME: ' /usr/sbo/repo/SLACKBUILDS.TXT | cut -b 18-)"} ) +slackbuilds=( ${(uf)"$(grep 'SLACKBUILD NAME: ' $repo/SLACKBUILDS.TXT | cut -b 18-)"} ) _arguments -s \ - info \ -- cgit v1.2.3