Skip to content

Commit

Permalink
remove cd from bash configuration files as it is prone to bugs (#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
ihiverlet authored Jan 9, 2025
1 parent 6bf340f commit d9b5466
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions scripts/onyxia-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -202,14 +202,6 @@ fi
export DUCKDB_S3_ENDPOINT=$AWS_S3_ENDPOINT
fi

if [[ -e "$HOME/work" ]]; then
if [[ $(id -u) = 0 ]]; then
echo "cd $HOME/work" >> /etc/profile
else
echo "cd $HOME/work" >> $HOME/.bashrc
fi
fi

if [[ -n "$FAUXPILOT_SERVER" ]]; then
dir="$HOME/.local/share/code-server/User"
file="settings.json"
Expand Down

0 comments on commit d9b5466

Please sign in to comment.