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:
parent
990b9ffb30
commit
1894a6f965
2
aliases
2
aliases
@ -36,7 +36,6 @@ alias -g NUL="&> /dev/null"
|
|||||||
alias -g BG="&;disown"
|
alias -g BG="&;disown"
|
||||||
alias -g COL="| column -t"
|
alias -g COL="| column -t"
|
||||||
alias -g CLIP="| xclip -i -selection primary -f | xclip -i -selection clipboard"
|
alias -g CLIP="| xclip -i -selection primary -f | xclip -i -selection clipboard"
|
||||||
calc() { bc -l <<< "$@"; }
|
|
||||||
|
|
||||||
alias svi=sudoedit
|
alias svi=sudoedit
|
||||||
alias svim=sudoedit
|
alias svim=sudoedit
|
||||||
@ -80,6 +79,7 @@ alias abuild-sign='alpine-sdk abuild-sign'
|
|||||||
alias apk='alpine-sdk apk'
|
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 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 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
|
# System aliases
|
||||||
alias s="sudo systemctl"
|
alias s="sudo systemctl"
|
||||||
|
Loading…
Reference in New Issue
Block a user