Skip to content

Commit

Permalink
Rename sumologic to sumo-make and add bash completion
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominik Rosiek committed Sep 16, 2020
1 parent 9aef418 commit 1194a6e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vagrant/provision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,5 @@ echo Dashboard token:
kubectl -n kube-system describe secret default| awk '$1=="token:"{print $2}'
echo

ln -s /sumologic/vagrant/sumologic.sh /usr/local/bin/sumologic
ln -s /sumologic/vagrant/scripts/sumo-make.sh /usr/local/bin/sumo-make
ln -s /sumologic/vagrant/scripts/sumo-make-completion.sh /etc/bash_completion.d/sumo-make
4 changes: 4 additions & 0 deletions vagrant/scripts/sumo-make-completion.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#/usr/bin/env bash

targets=$(cat /sumologic/vagrant/Makefile | grep -oE '^\S*\:' | sed 's/\:$//g')
complete -W "${targets}" sumomake
File renamed without changes.

0 comments on commit 1194a6e

Please sign in to comment.