etc/commonshrc

22 lines
443 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`
test -x /usr/bin/vim && export EDITOR=/usr/bin/vim
export MPD_HOST=127.0.0.1 MPD_PORT=6600
alias vi=vim
# passc
passc() {
pass show "$1" | (read i; cat; echo -n "$i" | xclip -l 1 -se c)
}