From 14e015de35eb9e389efd28f21db32a8474bb98f1 Mon Sep 17 00:00:00 2001 From: Austen Adler Date: Wed, 20 Aug 2014 18:56:59 -0400 Subject: [PATCH 1/3] Fixed tmux --- scripts/sync.sh | 2 +- tmux.conf => tmux/tmux.conf | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename tmux.conf => tmux/tmux.conf (100%) diff --git a/scripts/sync.sh b/scripts/sync.sh index 6861c7b..36e5b86 100755 --- a/scripts/sync.sh +++ b/scripts/sync.sh @@ -54,7 +54,7 @@ while getopts ":hbsdtclw" VALUE "$@"; do if [ "$VALUE" = "t" ] ; then echo "Syncing tmux" rm ~/.tmux.conf - ln -s ${PWD}../tmux/tmux.conf ~/.tmux.conf + ln -s ${PWD}/../tmux/tmux.conf ~/.tmux.conf fi if [ "$VALUE" = "c" ] ; then echo "Syncing config files" diff --git a/tmux.conf b/tmux/tmux.conf similarity index 100% rename from tmux.conf rename to tmux/tmux.conf From a47d6075eb89759925ef2583a9533167ceca33b1 Mon Sep 17 00:00:00 2001 From: Austen Adler Date: Wed, 20 Aug 2014 20:02:25 -0400 Subject: [PATCH 2/3] Fixed zsh cloning --- scripts/sync.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/sync.sh b/scripts/sync.sh index 36e5b86..9e03466 100755 --- a/scripts/sync.sh +++ b/scripts/sync.sh @@ -73,6 +73,9 @@ while getopts ":hbsdtclw" VALUE "$@"; do ln -s ${PWD}/../git/gitconfig ~/.gitconfig ln -s ${PWD}/../shells/bashrc ~/.bashrc ln -s ${PWD}/../shells/zshrc ~/.zshrc + if [ ! -d "~/.oh-my-zsh" ] ; then + curl -L http://install.ohmyz.sh | sh + fi mkdir -p ~/.i3 ln -s ${PWD}/../i3/i3config ~/.i3/config ln -s ${PWD}/../i3/sleep.sh ~/.i3/sleep.sh From d531a7ea6d64ec9a4f83752e35af55ef09452d77 Mon Sep 17 00:00:00 2001 From: Austen Adler Date: Wed, 20 Aug 2014 20:07:56 -0400 Subject: [PATCH 3/3] Fixed zsh config again... --- scripts/sync.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/sync.sh b/scripts/sync.sh index 9e03466..9846288 100755 --- a/scripts/sync.sh +++ b/scripts/sync.sh @@ -73,7 +73,7 @@ while getopts ":hbsdtclw" VALUE "$@"; do ln -s ${PWD}/../git/gitconfig ~/.gitconfig ln -s ${PWD}/../shells/bashrc ~/.bashrc ln -s ${PWD}/../shells/zshrc ~/.zshrc - if [ ! -d "~/.oh-my-zsh" ] ; then + if [ -d "~/.oh-my-zsh" ] ; then curl -L http://install.ohmyz.sh | sh fi mkdir -p ~/.i3