etc/commonshrc
2016-01-02 13:51:29 +01:00

22 lines
452 B
Bash

# Copyright (C) 2011 Gabriel Ebner
# vim:fdm=marker ft=sh:
export USER=`whoami`
# . $HOME/etc/nonnixshellrc
# Customisation of Programs {{{1
alias ls='ls --color=auto'
export EMAIL='gebner@gebner.org'
test -x /usr/bin/lesspipe && eval `lesspipe`
export MPD_HOST=127.0.0.1 MPD_PORT=6600
export EDITOR="`which nvim || which vim || which vi`"
alias vi="$EDITOR"
# passc
passc() {
pass show "$1" | (read i; cat; echo -n "$i" | xclip -l 1 -se c)
}