1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

aliases: disable calc globbing *yay*

This commit is contained in:
Joe Groocock 2018-10-31 17:24:37 +00:00
parent 990b9ffb30
commit 1894a6f965
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -36,7 +36,6 @@ alias -g NUL="&> /dev/null"
alias -g BG="&;disown"
alias -g COL="| column -t"
alias -g CLIP="| xclip -i -selection primary -f | xclip -i -selection clipboard"
calc() { bc -l <<< "$@"; }
alias svi=sudoedit
alias svim=sudoedit
@ -80,6 +79,7 @@ alias abuild-sign='alpine-sdk abuild-sign'
alias apk='alpine-sdk apk'
alias hddtemps='find /sys/block/ -name sd\* | sed "s|sys/block|dev|g" | sudo xargs hddtemp | sort -t: -k3'
alias stripansi='sed -r "s/\x1B\[(([0-9]+)(;[0-9]+)*)?[m,K,H,f,J]//g"'
alias calc="noglob bc -l <<<" # noglob allows * without quoting
# System aliases
alias s="sudo systemctl"