Skip to content

Commit d9b5466

Browse files
authored
remove cd from bash configuration files as it is prone to bugs (#236)
1 parent 6bf340f commit d9b5466

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

scripts/onyxia-init.sh

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -202,14 +202,6 @@ fi
202202
export DUCKDB_S3_ENDPOINT=$AWS_S3_ENDPOINT
203203
fi
204204

205-
if [[ -e "$HOME/work" ]]; then
206-
if [[ $(id -u) = 0 ]]; then
207-
echo "cd $HOME/work" >> /etc/profile
208-
else
209-
echo "cd $HOME/work" >> $HOME/.bashrc
210-
fi
211-
fi
212-
213205
if [[ -n "$FAUXPILOT_SERVER" ]]; then
214206
dir="$HOME/.local/share/code-server/User"
215207
file="settings.json"

0 commit comments

Comments
 (0)