Skip to content

Commit e37aeec

Browse files
Silence completions (#189)
1 parent 6f3f991 commit e37aeec

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

install.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,14 @@ if ! echo "$PATH" | grep -q "$INSTALL_DIR"; then
7676
fi
7777
fi
7878

79+
# Silently install completions
80+
nohup jelly-cli completions install > /dev/null 2>&1
81+
eval "$(jelly-cli completions install --env)"
82+
7983
# Link the binary to the installation directory
8084
if [ -f "$INSTALL_DIR/jelly-cli" ]; then
8185
echo "Installation successful! You can now use Jelly CLI by running 'jelly-cli'."
8286
else
8387
echo "Error: Installation failed. The binary was not found in the installation directory."
8488
exit 1
85-
fi
86-
87-
jelly-cli completions install
89+
fi

0 commit comments

Comments
 (0)