There was an error while loading. Please reload this page.
1 parent 4ae187b commit c57f3caCopy full SHA for c57f3ca
snapshot
@@ -7,12 +7,11 @@ if [ ! -f "$BUILD_JAR_PATH" ]; then
7
fi
8
9
# AUTO COMPLETE
10
-if [ ! -f "snapshot_auto_complete.sh" ]; then
11
- chmod +x snapshot.sh
12
- _SNAPSHOT_COMPLETE=bash java -jar "$BUILD_JAR_PATH" >snapshot_auto_complete.sh
13
- echo complete -F _snapshot ./snapshot.sh >>snapshot_auto_complete.sh
14
- echo source "$PWD"/snapshot_auto_complete.sh >>~/.bashrc
15
- echo source "$PWD"/snapshot_auto_complete.sh >>~/.bash_profile
+if [ ! -f "snapshot_completion.sh" ]; then
+ chmod +x snapshot
+ _SNAPSHOT_COMPLETE=bash java -jar "$BUILD_JAR_PATH" >snapshot_completion.sh
+ echo complete -F _snapshot ./snapshot >>snapshot_completion.sh
+ source snapshot_completion.sh
16
17
18
# RUN
0 commit comments