diff --git a/config/gitconfig b/config/gitconfig index e659cf4..76cd7a5 100644 --- a/config/gitconfig +++ b/config/gitconfig @@ -9,3 +9,6 @@ name = "Hactarus" email = "hactarus.git@cresi.be" {{end}} + +[alias] + pushdev = !git push --set-upstream origin "`git branch --no-color 2>/dev/null | grep '*' | sed -e 's/\\* //'`:dev/{{ .Env.USER }}/`git branch --no-color 2>/dev/null | grep '*' | sed -e 's/\\* //'`" \ No newline at end of file diff --git a/config/ssh/config b/config/ssh/config index bbf27bb..071ee9c 100644 --- a/config/ssh/config +++ b/config/ssh/config @@ -23,5 +23,4 @@ Host ansible Host node* User root Port 16843 - IdentityFile ~/.ssh/node -{{ .os.Hostname }} \ No newline at end of file + IdentityFile ~/.ssh/ed25519 \ No newline at end of file diff --git a/init b/init index 0c1c77b..088a81c 100755 --- a/init +++ b/init @@ -1,3 +1,8 @@ #!/bin/bash +locale -a | grep -i "utf8" +if [[ ! $? -eq 0 ]]; then + echo -e "\033[31;1mPlease install utf8 locale\033[0m" + exit 1 +fi _RDIR=$(cd `dirname $0` && pwd) ${_RDIR}/bin/homemaker.amd64 -variant $@ ${_RDIR}/common.toml ${_RDIR} \ No newline at end of file