-
Notifications
You must be signed in to change notification settings - Fork 3
/
_update_repo.sh
executable file
·24 lines (18 loc) · 1009 Bytes
/
_update_repo.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash
################################################################################
### Update the repo with the latest files in the system
################################################################################
FONT_AND_COLOR_THEMES_DIR="$HOME/Library/Developer/Xcode/UserData/FontAndColorThemes"
CODE_SNIPPETS_DIR="$HOME/Library/Developer/Xcode/UserData/CodeSnippets"
echo "Encrypting necessary files…"
source $DOTFILES_DIR/_encrypt.sh $1
echo "Copying ~/.config/powerline-shell/config.json…"
cp $HOME/.config/powerline-shell/config.json $DOTFILES_DIR/Terminal/powerline-shell-config.json
echo "Copying Xcode font and color themes…"
cp -r $FONT_AND_COLOR_THEMES_DIR $DOTFILES_DIR/Xcode
echo "Copying Xcode code snippets…"
cp -r $CODE_SNIPPETS_DIR $DOTFILES_DIR/Xcode
echo "✅ Done!"
echo " Make sure you export your latest Terminal .terminal file:"
echo " Open Terminal -> Preferences -> Profiles -> Default -> Export…"
echo " And move it to $DOTFILES_DIR/Terminal"