diff --git a/windows/bashrc b/windows/bashrc index e7c8b4a..2023720 100644 --- a/windows/bashrc +++ b/windows/bashrc @@ -5,7 +5,16 @@ test -f ~/.aliases && . ~/.aliases # Unbreak broken, non-colored terminal export TERM=xterm-256color +# Don't use ^D to exit +set -o ignoreeof + # Needed for mingw32 export PATH=$HOME/bin/:$HOME/.dotfiles/bin:$PATH +# TMP and TEMP are defined in the Windows environment. Leaving them set to the default +# Windows temporary directory can have unexpected consequences. +export TMP=/tmp +export TEMP=/tmp +export TMPDIR=/tmp + cd ~ diff --git a/windows/readme.md b/windows/readme.md index 9179c79..2829523 100644 --- a/windows/readme.md +++ b/windows/readme.md @@ -9,6 +9,11 @@ * ignore all zsh files * don't symlink .vim folder because Plugged will fail to install the plugins. Just make a copy. +## Setting up Cygwin + +* can create symlinks to dotfiles using the git bash shell. The cygwin home directory + is likely going to be `C:\cygwin\home\`. + ## Setting up Clojure * Install Lein: https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein.bat