commit b787b8c556c63eb8adfe1a8e44524efdf917ccdc parent 32768f3aab56dad9c63a9e1db07fd3a1dd7adc6a Author: David O'Shaughnessy <drgibbon@users.noreply.github.com> Date: Mon, 4 Jun 2018 16:44:40 +1000 use instead of hardcoded path for SBo repo Diffstat:
| M | completions/zsh/_sbofind | | | 2 | +- |
| M | completions/zsh/_sboinstall | | | 2 | +- |
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git 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 @@ -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 \