etc/commonshrc

28 lines
541 B
Plaintext
Raw Normal View History

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