Removed duplication of alias line in .bashrc
This commit is contained in:
2
setup.sh
2
setup.sh
@@ -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
|
||||||
|
Reference in New Issue
Block a user