install.run: detect MIKAELA_GREP and run it

This commit is contained in:
Mikaela Suomalainen 2014-10-09 21:44:37 +03:00
parent 1fbead2ebc
commit 69abad72e1

View File

@ -1,5 +1,20 @@
#!/usr/bin/env bash
# Do not use this script unless you know what you are doing!
export MIKAELA_GREP=$HOME/.MIKAELA_GREP
if [ -f $HOME/.MKAYSIGREP ]
then
mv $HOME/.MKAYSIGREP $MIKAELA_GREP
fi
if [ -f "$MIKAELA_GREP" ]
then
echo "MIKAELA_GREP has been used previously, Installing/Upgrading."
bash -x ./.install.MKAYSIGREP.run
fi
cat bashrc > ~/.bashrc
cat tmux.conf > ~/.tmux.conf
cat zshrc > ~/.zshrc