etc/commonshrc

19 lines
399 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