commit ad8e116fdb2e964010d9e39ec5dae275e9b0e48a parent f11962a3d8c4be76cf16b7f8f23d85f292ed5bd8 Author: Anders Damsgaard <anders.damsgaard@geo.au.dk> Date: Sun, 22 Nov 2015 11:24:35 +0100 create symlinks Diffstat:
M | osx-install.sh | | | 11 | +++++++++++ |
1 file changed, 11 insertions(+), 0 deletions(-)
diff --git a/osx-install.sh b/osx-install.sh @@ -99,3 +99,14 @@ if [[ $REPLY =~ ^[Yy]$ ]]; then git clone https://github.com/tomislav/osx-terminal.app-colors-solarized \ ~/code/dotfiles/osx-terminal.app-colors-solarized fi + +read -p "Do you want to create symlinks in the home folder? [y/n]" -n 1 -r +echo +if [[ $REPLY =~ ^[Yy]$ ]]; then + ln -s ~/Library/Mobile\ Documents/com\~apple\~CloudDocs ~/iCloud + ln -s ~/iCloud/articles ~/articles + ln -s ~/iCloud/src ~/src + ln -s ~/iCloud/doc ~/doc + ln -s ~/iCloud/uni ~/uni + ln -s ~/iCloud/videos ~/videos +fi