Skip to content

Commit

Permalink
Remove old wsl 1 code
Browse files Browse the repository at this point in the history
  • Loading branch information
giggio committed Jun 6, 2024
1 parent 794683c commit df5d605
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions bashrc-wsl.bash
Original file line number Diff line number Diff line change
Expand Up @@ -55,19 +55,6 @@ else
esac
fi
export IS_SSH
if [ -v WSL_INTEROP ] || [ -v WSL_INTEGRATION_CACHE ]; then
export WSLVersion=2
else
export WSLVersion=1
fi
if [ "$WSLVersion" == "1" ]; then
export DOCKER_HOST="unix://$HOME/sockets/docker.sock"
if hash tmux 2>/dev/null && hash docker-relay 2>/dev/null; then
if ! pgrep socat > /dev/null; then
tmux new -s docker-relay-session -d docker-relay
fi
fi
fi

# shellcheck disable=SC2155
export WHOME=`windows_env_var USERPROFILE`
Expand Down

0 comments on commit df5d605

Please sign in to comment.