From ffa2a60dfe55ad20c03cfb285da7a717faa9fafa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Romey?= Date: Sun, 4 Nov 2012 14:55:35 +0100 Subject: [PATCH] Better installer --- README.md | 4 ++-- install_in_omz.sh | 8 ++++++++ make_a_link.sh | 1 - 3 files changed, 10 insertions(+), 3 deletions(-) create mode 100755 install_in_omz.sh delete mode 100755 make_a_link.sh diff --git a/README.md b/README.md index 7f1b4c4..91e4a29 100644 --- a/README.md +++ b/README.md @@ -13,10 +13,10 @@ Set Up 1. Clone the repository. -2. Create un symlink of **powerline.zsh-theme** in **.oh-my-zsh/themes/**. You can use the **make_a_link.sh** file : +2. Create un symlink of **powerline.zsh-theme** in **.oh-my-zsh/themes/**. You can use the **install_in_omz.sh** file : ``` - make_a_link.sh + ./install_in_omz.sh ``` 3. Configure the theme in your **.zshrc** file : diff --git a/install_in_omz.sh b/install_in_omz.sh new file mode 100755 index 0000000..697f644 --- /dev/null +++ b/install_in_omz.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +echo "Creating symlink from here to your oh-my-zsh themes path..." + +ln -f powerline.zsh-theme ~/.oh-my-zsh/themes/powerline.zsh-theme + +echo "Done ! (the symlink is ~/.oh-my-zsh/themes/powerline.zsh-theme)" + diff --git a/make_a_link.sh b/make_a_link.sh deleted file mode 100755 index ae89e19..0000000 --- a/make_a_link.sh +++ /dev/null @@ -1 +0,0 @@ -ln -f powerline.zsh-theme ~/.oh-my-zsh/themes/powerline.zsh-theme \ No newline at end of file