etc/commonshrc

22 lines
452 B
Plaintext
Raw Normal View History

2011-04-30 18:21:21 +00:00
# Copyright (C) 2011 Gabriel Ebner
# vim:fdm=marker ft=sh:
export USER=`whoami`
2015-05-27 16:56:03 +00:00
# . $HOME/etc/nonnixshellrc
2014-07-22 18:33:48 +00:00
2011-04-30 18:21:21 +00:00
# Customisation of Programs {{{1
alias ls='ls --color=auto'
2013-05-09 09:17:19 +00:00
export EMAIL='gebner@gebner.org'
2011-04-30 18:21:21 +00:00
test -x /usr/bin/lesspipe && eval `lesspipe`
export MPD_HOST=127.0.0.1 MPD_PORT=6600
2014-07-28 14:08:02 +00:00
2016-01-02 12:51:29 +00:00
export EDITOR="`which nvim || which vim || which vi`"
alias vi="$EDITOR"
2014-08-18 16:45:07 +00:00
2014-07-28 14:08:02 +00:00
# passc
passc() {
2014-09-01 13:41:53 +00:00
pass show "$1" | (read i; cat; echo -n "$i" | xclip -l 1 -se c)
2014-07-28 14:08:02 +00:00
}