mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-02-18 06:31:01 +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
|
#!/usr/bin/env bash
|
||||||
# Do not use this script unless you know what you are doing!
|
# 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 bashrc > ~/.bashrc
|
||||||
cat tmux.conf > ~/.tmux.conf
|
cat tmux.conf > ~/.tmux.conf
|
||||||
cat zshrc > ~/.zshrc
|
cat zshrc > ~/.zshrc
|
||||||
|
Loading…
x
Reference in New Issue
Block a user