mirror of
https://github.com/don-philipe/dotfiles.git
synced 2025-11-08 14:47:03 +01:00
Avoid logging space prefixed commands to hist file like qrcode
This commit is contained in:
@@ -39,10 +39,12 @@ startx()
|
||||
}
|
||||
|
||||
# generate qrcode and display it
|
||||
qrcode()
|
||||
func_qrcode()
|
||||
{
|
||||
qrencode "$1" -o - | feh -
|
||||
}
|
||||
# Create alias calling the function with space prefix, so that it is not logged in history file. This avoids logging passwords and stuff.
|
||||
alias qrcode=" func_qrcode"
|
||||
|
||||
ogg2mp3()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user