diff options
author | David O'Shaughnessy <drgibbon@users.noreply.github.com> | 2018-06-04 16:44:40 +1000 |
---|---|---|
committer | Slack Coder <slackcoder@server.ky> | 2024-08-16 05:43:33 -0500 |
commit | b787b8c556c63eb8adfe1a8e44524efdf917ccdc (patch) | |
tree | 69618f9d40b1405fa1a98d57e8c1d3a181755366 | |
parent | 32768f3aab56dad9c63a9e1db07fd3a1dd7adc6a (diff) | |
download | sbotools-b787b8c556c63eb8adfe1a8e44524efdf917ccdc.tar.xz |
use instead of hardcoded path for SBo repo
-rw-r--r-- | completions/zsh/_sbofind | 2 | ||||
-rw-r--r-- | 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 \ |