Skip to content

Commit df5d605

Browse files
committed
Remove old wsl 1 code
1 parent 794683c commit df5d605

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

bashrc-wsl.bash

-13
Original file line numberDiff line numberDiff line change
@@ -55,19 +55,6 @@ else
5555
esac
5656
fi
5757
export IS_SSH
58-
if [ -v WSL_INTEROP ] || [ -v WSL_INTEGRATION_CACHE ]; then
59-
export WSLVersion=2
60-
else
61-
export WSLVersion=1
62-
fi
63-
if [ "$WSLVersion" == "1" ]; then
64-
export DOCKER_HOST="unix://$HOME/sockets/docker.sock"
65-
if hash tmux 2>/dev/null && hash docker-relay 2>/dev/null; then
66-
if ! pgrep socat > /dev/null; then
67-
tmux new -s docker-relay-session -d docker-relay
68-
fi
69-
fi
70-
fi
7158

7259
# shellcheck disable=SC2155
7360
export WHOME=`windows_env_var USERPROFILE`

0 commit comments

Comments
 (0)