Removed duplication of alias line in .bashrc
This commit is contained in:
parent
068400457c
commit
76a35b8301
2
setup.sh
2
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
|
||||
|
|
Loading…
Reference in New Issue
Block a user