mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-25 12:49:26 +01:00
install.run: detect MIKAELA_GREP and run it
This commit is contained in:
parent
1fbead2ebc
commit
69abad72e1
15
install.run
15
install.run
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user