summaryrefslogtreecommitdiffstats
path: root/deployment
diff options
context:
space:
mode:
authorClementTsang <cjhtsang@uwaterloo.ca>2020-11-20 22:03:55 -0500
committerClementTsang <cjhtsang@uwaterloo.ca>2020-11-20 22:22:13 -0500
commitf8b1c48ff4d82e101d07738a904981f05677599d (patch)
tree2d3c75122bdef38219a26fbf1261a513e03f4b4f /deployment
parent1e901623d552f520881596eb7e7dee394bcb726f (diff)
ci: [skip travis] Fix typo in completion generation...
Diffstat (limited to 'deployment')
-rw-r--r--deployment/linux/arch/PKGBUILD.template2
-rw-r--r--deployment/macos/homebrew/bottom.rb.template2
2 files changed, 2 insertions, 2 deletions
diff --git a/deployment/linux/arch/PKGBUILD.template b/deployment/linux/arch/PKGBUILD.template
index e9311b43..a8b36f52 100644
--- a/deployment/linux/arch/PKGBUILD.template
+++ b/deployment/linux/arch/PKGBUILD.template
@@ -27,7 +27,7 @@ package() {
install -Dm755 target/release/btm "$pkgdir/usr/bin/btm"
install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
- local target_dir=$(ls target/release/build/bottom-*/out/rg.bash | head -n1 | xargs dirname)
+ local target_dir=$(ls target/release/build/bottom-*/out/btm.bash | head -n1 | xargs dirname)
install -Dm644 "$target_dir"/_btm "$pkgdir/usr/share/zsh/site-functions/_btm"
install -Dm644 "$target_dir"/btm.bash "$pkgdir/usr/share/bash-completion/completions/btm"
install -Dm644 "$target_dir"/btm.fish "$pkgdir/usr/share/fish/vendor_completions.d/btm.fish"
diff --git a/deployment/macos/homebrew/bottom.rb.template b/deployment/macos/homebrew/bottom.rb.template
index 1e9fce5b..68138c88 100644
--- a/deployment/macos/homebrew/bottom.rb.template
+++ b/deployment/macos/homebrew/bottom.rb.template
@@ -11,7 +11,7 @@ class Bottom < Formula
end
def install
- bash_completion.install "completion/rg.bash"
+ bash_completion.install "completion/btm.bash"
zsh_completion.install "completion/_rg"
bin.install "btm"
ohai "You're done! Run with \"btm\""