aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncaen <mail@duncano.de>2015-05-07 22:15:00 +0200
committerDuncaen <mail@duncano.de>2015-05-07 22:22:12 +0200
commitd7b7fbf394e920735a28bede4db047692515f545 (patch)
tree6942aa3f47c2b0ce54d4cfe240578294d43b02a3
parentdaca4afc4f0e84762d46d2975e1982f882b0d10f (diff)
downloaddotfiles-d7b7fbf394e920735a28bede4db047692515f545.tar.gz
mkshrc: special cases for pi
-rw-r--r--mkshrc20
1 files changed, 11 insertions, 9 deletions
diff --git a/mkshrc b/mkshrc
index f74e5e9..c67ecc6 100644
--- a/mkshrc
+++ b/mkshrc
@@ -425,19 +425,21 @@ alias xr='sudo xbps-remove'
alias xq='xbps-query'
# colors
-alias ld='grc -es --colour=auto ld'
-alias ss='grc -es --colour=auto ss'
-alias ps='grc -es --colour=auto ps'
-alias mount='grc -es --colour=auto mount'
-alias dig='grc -es --colour=auto dig'
-alias ping='grc -es --colour=auto ping'
-alias traceroute='grc -es --colour=auto traceroute'
-alias df='grc -es --colour=auto df'
+if [[ ${HOSTNAME} != 'pi' ]]; then
+ alias ld='grc -es --colour=auto ld'
+ alias ss='grc -es --colour=auto ss'
+ alias ps='grc -es --colour=auto ps'
+ alias mount='grc -es --colour=auto mount'
+ alias dig='grc -es --colour=auto dig'
+ alias ping='grc -es --colour=auto ping'
+ alias traceroute='grc -es --colour=auto traceroute'
+ alias df='grc -es --colour=auto df'
+fi
alias usv='SVDIR=~/service/ sv'
# Keychain
-eval `keychain --eval --agents ssh id_rsa`
+[ -r /usr/bin/keychain ] && eval `keychain --eval --agents ssh id_rsa`
alias check-updates="sudo sh -c 'cd /var/cache/void-packages && chpst -u voidupdates:voidupdates void-updates -p 20 -r git://github.com/voidlinux/void-packages.git -s /var/cache/void-packages -o /srv/http/void-updates'"
alias bt='echo 0 | gdb -batch-silent -ex "run" -ex "set logging overwrite on" -ex "set logging file gdb.bt" -ex "set logging on" -ex "set pagination off" -ex "handle SIG33 pass nostop noprint" -ex "echo backtrace:\n" -ex "backtrace full" -ex "echo \n\nregisters:\n" -ex "info registers" -ex "echo \n\ncurrent instructions:\n" -ex "x/16i \$pc" -ex "echo \n\nthreads backtrace:\n" -ex "thread apply all backtrace" -ex "set logging off" -ex "quit" --args'