dotfiles

configuration files
git clone https://pi.duncano.de/git/dotfiles.git
Log | Files | Refs | README

commit d7b7fbf394e920735a28bede4db047692515f545
parent daca4afc4f0e84762d46d2975e1982f882b0d10f
Author: Duncaen <mail@duncano.de>
Date:   Thu,  7 May 2015 22:15:00 +0200

mkshrc: special cases for pi

Diffstat:
mkshrc | 20+++++++++++---------
1 file changed, 11 insertions(+), 9 deletions(-)

diff --git 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'