Skip to content

Instantly share code, notes, and snippets.

@leshikus
Created August 11, 2025 18:33
Show Gist options
  • Save leshikus/4876adca17f55652c01c939632296c72 to your computer and use it in GitHub Desktop.
Save leshikus/4876adca17f55652c01c939632296c72 to your computer and use it in GitHub Desktop.
set env in wsl
# specific settings go here
export HTTPS_PROXY="$https_proxy"
export EDITOR=vim
cd
export PS1="\[\033]0;$TITLEPREFIX:$PWD\007\]\n\[\033[32m\]\u@\h \[\033[35m\]$MSYSTEM \[\033[33m\]\w\[\033[36m\] `pwd -P`\[\033[0m\]\n$ "
cat <<EOF >.vimrc
syntax on
set tabstop=4 expandtab
EOF
git config --global user.email "[email protected]"
git config --global user.name "Alexei Fedotov"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment