Last active
March 25, 2018 12:58
-
-
Save tmyt/3bb7b681ff0bae53d4f5a286c63b49f1 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#!/bin/bash | |
# Make symbolic link | |
userprofile=$(cmd.exe /C set | grep -i '^userprofile=' | cut -d '=' -f 2 | tr '\\' '/' | tr -d ':' | tr -d '[:cntrl:]') | |
ln -s /mnt/${userprofile,} ~/Profile | |
ln -s ~/Profile/Documents ~/Documents | |
ln -s ~/Profile/Downloads ~/Downloads | |
ln -s ~/Profile/Desktop ~/Desktop | |
# configure bash | |
echo 'set completion-ignore-case on' >> ~/.inputrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment