Skip to content

Commit c57f3ca

Browse files
committed
Review
1 parent 4ae187b commit c57f3ca

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

snapshot

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,11 @@ if [ ! -f "$BUILD_JAR_PATH" ]; then
77
fi
88

99
# 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
10+
if [ ! -f "snapshot_completion.sh" ]; then
11+
chmod +x snapshot
12+
_SNAPSHOT_COMPLETE=bash java -jar "$BUILD_JAR_PATH" >snapshot_completion.sh
13+
echo complete -F _snapshot ./snapshot >>snapshot_completion.sh
14+
source snapshot_completion.sh
1615
fi
1716

1817
# RUN

0 commit comments

Comments
 (0)