Prevent re-installations from messing up rc files
This commit is contained in:
parent
31243775ed
commit
01b20d496e
2 changed files with 19 additions and 11 deletions
scripts/Common/Config/git/git-auf-deutsch
|
@ -27,8 +27,13 @@ git config --global alias.versteck stash;
|
|||
git config --global alias.zuestand status;
|
||||
git config --global alias.markierig tag;
|
||||
|
||||
{
|
||||
echo "";
|
||||
echo "# Git auf Thurgauerisch";
|
||||
echo "alias totsch='git'";
|
||||
} >> ~/.bashrc;
|
||||
source ~/.bashrc;
|
||||
|
||||
if ! alias totsch
|
||||
then
|
||||
{
|
||||
echo "";
|
||||
echo "# Git auf Thurgauerisch";
|
||||
echo "alias totsch='git'";
|
||||
} >> ~/.bashrc;
|
||||
fi;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue