diff --git a/setup.sh b/setup.sh index ac78b73..e37d764 100644 --- a/setup.sh +++ b/setup.sh @@ -1,5 +1,5 @@ #!/bin/bash -[[ $(uname) = "Linux" ]] || echo "alias sshin=\"~/sshin/sshin\"" >> ~/.bashrc; echo "run \"source ~/.bashrc\"";exit +[[ $(uname) = "Linux" ]] || grep "sshin" ~/.bashrc >/dev/null || echo "alias sshin=\"~/sshin/sshin\"" >> ~/.bashrc; echo "run \"source ~/.bashrc\"";exit PREFIX=~/.local/ mkdir $PREFIX/share/sshin