Skip to content

Commit

Permalink
fix : sh
Browse files Browse the repository at this point in the history
  • Loading branch information
lshtar13 committed Sep 3, 2023
1 parent eefc24c commit 935f555
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ make

# Add EJP-T as an environment variable
if [[ $SHELL == *"bash"* ]]; then
echo "export PATH=PATH:$(pwd)/src" >> ~/.bashrc
source ~/.bashrc
echo "export PATH=\$PATH:$(pwd)/src" >> ~/.bashrc
elif [[ $SHELL == *"zsh"* ]]; then
echo "export EJP_T=PATH:$(pwd)/src" >> ~/.zshrc
source ~/.zshrc
echo "export PATH=\$PATH:$(pwd)/src" >> ~/.zshrc
else
echo "Unsupported shell. Please add manually."
fi

# source ~/.bashrc && source ~/.zshrc

echo "Installation completed successfully."

0 comments on commit 935f555

Please sign in to comment.