aboutsummaryrefslogtreecommitdiff
path: root/mkshrc
diff options
context:
space:
mode:
authorMitch Riedstra <mitch@riedstra.us>2020-09-25 23:52:03 -0400
committerMitch Riedstra <mitch@riedstra.us>2020-09-25 23:52:03 -0400
commit8e888a97377b698081512144553909f3212e7828 (patch)
treec9a66a8fe3792f16e062a337ce5b96b9d465921b /mkshrc
parent56301cc78cdfe8246b19759b46b9a0c7dd3546c7 (diff)
downloaddotfiles-8e888a97377b698081512144553909f3212e7828.tar.gz
dotfiles-8e888a97377b698081512144553909f3212e7828.tar.xz
make bc -q alias only apply to Linux, since OpenBSD complains about the flag missing
Diffstat (limited to 'mkshrc')
-rw-r--r--mkshrc5
1 files changed, 3 insertions, 2 deletions
diff --git a/mkshrc b/mkshrc
index c0cad9a..e403ce9 100644
--- a/mkshrc
+++ b/mkshrc
@@ -28,13 +28,12 @@ setaliases() {
alias rot13="tr 'A-Za-z' 'N-ZA-Mn-za-m'"
alias setxkbmap-list="man xkeyboard-config"
showsshhosts() {
- cat ~/.ssh/config ~/.ssh/inc/* | awk '/^[hH]ost /{$1=""; print $0}'
+ cat ~/.ssh/config ~/.ssh/inc/* | awk '/^[hH]ost /{$1=""; print $0}'
}
# docker-getip $container_id
alias docker-getip="docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}'"
alias xa='xargs -I{}'
alias gdb='gdb -q'
- alias bc='bc -q'
alias python='/usr/bin/env python3 -q'
alias ncmpc='ncmpc -C -M'
# Fun fact, Gnucash doesn't play nice when built against musl as a libc...
@@ -79,6 +78,8 @@ setaliases() {
if [ "$(uname)" = "Linux" ] ; then
# Sets capslock to be another control key, only works with PS2 keyboards
alias unfuck_capslock='setkeycodes 3a 29'
+
+ alias bc='bc -q'
fi
}