Skip to content

Commit

Permalink
auto add auto-complete linux
Browse files Browse the repository at this point in the history
  • Loading branch information
omer-shtivi committed Jan 30, 2024
1 parent 9d87282 commit 0a4d51a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/install_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ echo "$APP_NAME-$LATEST_APP_VERSION has been installed and replaced successfully
# Add the user-specific bin directory to the user's PATH
echo "export PATH=\"\$PATH:$INSTALL_DIR\"" >> "$HOME/.bashrc" || die "Failed to update .bashrc."

# Add auto-complete to bashrc
echo "[ -f $INSTALL_DIR/satori_auto_complete.sh ] && source $INSTALL_DIR/satori_auto_complete.sh" >> "$HOME/.bashrc" || die "Failed to add auto-complete to .bashrc."


# Provide user feedback
echo "You can run it using the command: $APP_NAME"
echo "Please restart your shell or run 'source ~/.bashrc' to update the PATH."

0 comments on commit 0a4d51a

Please sign in to comment.