Removed duplication of alias line in .bashrc

This commit is contained in:
Marco 2021-11-03 13:44:37 +01:00
parent 068400457c
commit 76a35b8301

View File

@ -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