add function to turnoff shell beep
This commit is contained in:
parent
e0638faa72
commit
a6227d2025
1 changed files with 7 additions and 0 deletions
|
@ -488,3 +488,10 @@ EOF
|
|||
|
||||
fi
|
||||
}
|
||||
|
||||
turnoffbeep() {
|
||||
line='set bell-style none'
|
||||
file=~/.inputrc
|
||||
grep -qxF "$line" "$file" || echo "$line" >> "$file"
|
||||
}
|
||||
#EOF
|
||||
|
|
Loading…
Reference in a new issue