summaryrefslogtreecommitdiff
path: root/Scripts/setUpeveryThing
diff options
context:
space:
mode:
Diffstat (limited to 'Scripts/setUpeveryThing')
-rw-r--r--Scripts/setUpeveryThing4
1 files changed, 1 insertions, 3 deletions
diff --git a/Scripts/setUpeveryThing b/Scripts/setUpeveryThing
index 3ad9862..708ba8f 100644
--- a/Scripts/setUpeveryThing
+++ b/Scripts/setUpeveryThing
@@ -20,9 +20,7 @@ sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/mas
git clone --bare https://bitbucket.org/durdn/cfg.git $HOME/.cfg
-function config {
- /usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME $@
-}
+alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
mkdir -p .config-backup
config checkout
if [ $? = 0 ]; then