]> arthur.barton.de Git - ax-zsh.git/blob - plugins/cygwin/cygwin.zprofile
New "cygwin" plugin
[ax-zsh.git] / plugins / cygwin / cygwin.zprofile
1 # AX-ZSH: Alex' Modular ZSH Configuration
2 # cygwin.zprofile: Setup CCache environment
3
4 [[ -d /cygdrive ]] || return
5
6 # Search for directories and apprepend it to "PATH"
7 for dir (
8         /cygdrive/c/Windows
9         /cygdrive/c/Windows/System32
10         /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0
11 ); do
12         [[ -d "$dir" ]] && PATH="$PATH:$dir"
13 done
14 unset dir