utils/bash/sources/22_win-setups

17 lines
311 B
Plaintext
Raw Normal View History

2022-08-15 12:23:00 +00:00
#!/bin/bash
function mkuserdirs {
local PROFILE PKG_DIR i
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
}