Simplify git-auf-deutsch
addition
This commit is contained in:
parent
ea1078e5db
commit
e22ca0ec73
1 changed files with 5 additions and 10 deletions
|
@ -1,4 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
pushd "${BASH_SOURCE%/*}" > /dev/null;
|
||||||
|
. "../../bash/profile.sh";
|
||||||
|
|
||||||
git config --global alias.ahfange init;
|
git config --global alias.ahfange init;
|
||||||
git config --global alias.tuedezue add;
|
git config --global alias.tuedezue add;
|
||||||
git config --global alias.beschuldig blame;
|
git config --global alias.beschuldig blame;
|
||||||
|
@ -27,13 +30,5 @@ git config --global alias.versteck stash;
|
||||||
git config --global alias.zuestand status;
|
git config --global alias.zuestand status;
|
||||||
git config --global alias.markierig tag;
|
git config --global alias.markierig tag;
|
||||||
|
|
||||||
source ~/.bashrc;
|
addBashProfile "git-auf-deutsch" "Git auf Thurgauerisch" "alias totsch='git'";
|
||||||
|
popd > /dev/null;
|
||||||
if ! alias totsch > /dev/null 2>&1
|
|
||||||
then
|
|
||||||
{
|
|
||||||
echo "";
|
|
||||||
echo "# Git auf Thurgauerisch";
|
|
||||||
echo "alias totsch='git'";
|
|
||||||
} >> ~/.bashrc;
|
|
||||||
fi;
|
|
||||||
|
|
Loading…
Reference in a new issue