Skip to content

Commit

Permalink
fix: Bash installer
Browse files Browse the repository at this point in the history
  • Loading branch information
chvolkmann committed Feb 16, 2021
1 parent 4976b28 commit deda35e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ _CODE_CONNECT_PY=$(realpath ~)/.code-connect/code_connect.py
echo "> Downloading code_connect.py from https://raw.githubusercontent.com/chvolkmann/code-connect/main/functions/code_connect.py"
mkdir -p $(dirname $_CODE_CONNECT_PY)
wget -q -O "$_CODE_CONNECT_PY" "https://raw.githubusercontent.com/chvolkmann/code-connect/main/functions/code_connect.py"
chmod +x "$_CODE_CONNECT_PY"

# Add the alias to ~/.bashrc if not already done
if [[ -z $(cat ~/.bashrc | grep "alias code=") ]]; then
Expand Down

0 comments on commit deda35e

Please sign in to comment.