Removed duplication of alias line in .bashrc

This commit is contained in:
marco committed 2021-11-03 13:44:37 +01:00
1 parent 068400457c
commit 76a35b8301
1 file changed
+1 -1
+1 -1
View File
@@ -1,5 +1,5 @@
#!/bin/bash #!/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/ PREFIX=~/.local/
mkdir $PREFIX/share/sshin mkdir $PREFIX/share/sshin