Compare commits

...

2 Commits

Author SHA1 Message Date
Timo Schmidt 6943a42990 timo_moulinette to timoulinette 2023-03-31 18:04:12 +02:00
Timo Schmidt f5b8dd58f2 .bashrc 2023-03-28 23:34:13 +02:00
1 changed files with 4 additions and 2 deletions

View File

@ -10,11 +10,13 @@ alias cmatrix='cmatrix -cu3 -Cred'
alias gca='git add -u && git commit -m "Automatic add"'
alias watch='watch -cn.1'
alias push='git push origin master ; git push gitea master'
alias francinette=/nfs/homes/tischmid/francinette/tester.sh
alias paco=/nfs/homes/tischmid/francinette/tester.sh
alias norm='alacritty -e sh -c '\''git rev-parse --show-toplevel || { echo "Exiting in 5" ; sleep 1 ; echo "Exiting in 4" ; sleep 1 ; echo "Exiting in 3" ; sleep 1 ; echo "Exiting in 2" ; sleep 1 ; echo "Exiting in 1" ; sleep 1 ; } && cd "$(git rev-parse --show-toplevel)" && watch -cn.5 date \&\& norminette -R CheckForbiddenSourceHeader'\'' & disown'
norminette () {
version="$($(type -P norminette) -v | cut -d" " -f2)"
if [ ! "${version}" = "3.3.50" ]; then
printf "%s\n" "Your norminette version is not 3.3.50, but ${version}, which will not catch some indentation errors. Please up-/downgrade. Exiting"
printf "%s\n" "Your norminette version is not 3.3.50, but ${version}, which will not catch some indentation errors. Please up-/downgrade"
fi
$(type -P norminette) -R CheckForbiddenSourceHeader "$@"
}
@ -100,7 +102,7 @@ safe_guard_name () {
printf '%s' "${1}" | tr \\'!@#$%^&*()_+~{}|:">[]?<, ./ ;=\t\-'\'\` '__________________________________'
}
timo_moulinette () {
timoulinette () {
# Set params
subject="${1}"
ex="${2}"