26 lines
524 B
Bash
26 lines
524 B
Bash
# Copyright (C) 2011 Gabriel Ebner
|
|
# vim:fdm=marker ft=sh:
|
|
|
|
export USER=`whoami`
|
|
|
|
test -d /run/current-system || . $HOME/etc/nonnixshellrc
|
|
|
|
# Customisation of Programs {{{1
|
|
alias ls='ls --color=auto'
|
|
export EMAIL='gebner@gebner.org'
|
|
test -x /usr/bin/lesspipe && eval `lesspipe`
|
|
|
|
if type -t nvim >/dev/null; then
|
|
export EDITOR="$(command -v nvim)"
|
|
alias vi="$EDITOR"
|
|
fi
|
|
|
|
export BROWSER=xdg-open
|
|
|
|
alias udetokei='tokei $(rg --files)'
|
|
|
|
# passc
|
|
passc() {
|
|
pass show "$1" | (read i; cat; echo -n "$i" | xclip -l 1 -se c)
|
|
}
|