checkforbiddensourceheader norminette function
This commit is contained in:
parent
8b918d5a49
commit
d2d54fbeea
2
.bashrc
2
.bashrc
|
@ -16,7 +16,7 @@ norminette () {
|
||||||
if [ ! "${version}" = "3.3.50" ]; then
|
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. Exiting"
|
||||||
fi
|
fi
|
||||||
$(type -P norminette) "$@"
|
$(type -P norminette) -R CheckForbiddenSourceHeader "$@"
|
||||||
}
|
}
|
||||||
jmp () {
|
jmp () {
|
||||||
cd "$(find . -name "${1}" -not -wholename "*mouli*" -print -quit)"
|
cd "$(find . -name "${1}" -not -wholename "*mouli*" -print -quit)"
|
||||||
|
|
Loading…
Reference in New Issue