Created
January 24, 2019 22:10
-
-
Save bodziek666/597de6ef70f36b38b0ba2f10abe9c2fe to your computer and use it in GitHub Desktop.
Windows 10 bashrc customizations
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# configuration from above wasn't modified so it's not posted here | |
# Custom PATH | |
export PATH=$PATH:/mnt/c/Applications:/mnt/c/Applications/mpv | |
# SSH Agent | |
if [ -z "$(pgrep ssh-agent)" ]; then | |
rm -rf /tmp/ssh-* | |
echo "Starting ssh-agent" | |
eval $(ssh-agent -s) | |
else | |
export SSH_AGENT_PID=$(pgrep ssh-agent) | |
export SSH_AUTH_SOCK=$(find /tmp/ssh-* -name 'agent.*') | |
fi | |
# Xorg for Windows | |
export DISPLAY=:0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment