add function to turnoff shell beep

This commit is contained in:
Jakobus Schürz 2020-03-04 10:27:13 +01:00
parent e0638faa72
commit a6227d2025

View file

@ -488,3 +488,10 @@ EOF
fi
}
turnoffbeep() {
line='set bell-style none'
file=~/.inputrc
grep -qxF "$line" "$file" || echo "$line" >> "$file"
}
#EOF