added bin for cygwin
This commit is contained in:
parent
c9d0de262c
commit
bc0eb1efb3
11
bash/cygwin/bin/mkuserdirs
Executable file
11
bash/cygwin/bin/mkuserdirs
Executable file
@ -0,0 +1,11 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
PROFILE=$( cygpath $USERPROFILE )
|
||||||
|
for i in $( ls $PROFILE | grep -o "^[A-Z][a-z]\+$" ); do
|
||||||
|
ln -vs "$PROFILE/$i" $HOME/
|
||||||
|
done
|
||||||
|
|
||||||
|
# Package Directory
|
||||||
|
PKG_DIR="$APPDATA/../Local/Packages"
|
||||||
|
if [ -d "$PKG_DIR" ]; then
|
||||||
|
ln -vs "$PKG_DIR" $HOME/
|
||||||
|
fi
|
Loading…
Reference in New Issue
Block a user