mirror of
https://github.com/ViViDboarder/shoestrap.git
synced 2024-11-21 16:36:30 +00:00
Add additional mac bootstrap stuff
This commit is contained in:
parent
26ccbb8594
commit
4e0fa1d8be
@ -50,7 +50,8 @@ fi
|
||||
recipe 'dotfiles'
|
||||
recipe 'bin'
|
||||
if [ "$(uname)" == 'Darwin' ]; then
|
||||
recipe 'mac-bin'
|
||||
recipe 'mac-files'
|
||||
recipe 'mac-bin'
|
||||
fi
|
||||
recipe 'git'
|
||||
recipe 'vim-settings'
|
||||
|
17
recipes/default/mac-files
Executable file
17
recipes/default/mac-files
Executable file
@ -0,0 +1,17 @@
|
||||
#! /bin/bash
|
||||
|
||||
iterm2_scripts="$HOME/Library/Application Support/iTerm2/Scripts"
|
||||
if [ -d "$iterm2_scripts" ]; then
|
||||
if [ ! -f "$iterm2_scripts/Auto_Dark_Mode_Colors.py" ]; then
|
||||
curl -o "$iterm2_scripts/Auto_Dark_Mode_Colors.py" \
|
||||
"https://gitlab.com/snippets/1840760/raw?inline=false"
|
||||
chmod +x "$iterm2_scripts/Auto_Dark_Mode_Colors.py"
|
||||
fi
|
||||
fi
|
||||
|
||||
icloud_prefs="$HOME/Library/Mobile Documents/com~apple~CloudDocs/Synced Preferences"
|
||||
if [ -d "$icloud_prefs" ]; then
|
||||
for f in "$icloud_prefs/Home/Library/Preferences/"*.plist ; do
|
||||
try_link "$f" "$HOME/Library/Preferences/$(basename "$f")"
|
||||
done
|
||||
fi
|
Loading…
Reference in New Issue
Block a user