Compare commits
2 Commits
d2d54fbeea
...
6943a42990
| Author | SHA1 | Date |
|---|---|---|
|
|
6943a42990 | |
|
|
f5b8dd58f2 |
6
.bashrc
6
.bashrc
|
|
@ -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}"
|
||||
|
|
|
|||
Loading…
Reference in New Issue