24 lines
534 B
Bash
24 lines
534 B
Bash
export VISUAL=vim
|
|
export EDITOR=vim
|
|
export SYSTEMD_EDITOR="/usr/bin/vim"
|
|
export PAGER=less
|
|
export BROWSER=/usr/bin/firefox
|
|
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"
|
|
|
|
CONTAINER_OR_VM=false
|
|
|
|
if [ -z "$(which systemd-detect-virt)" ] || [ "$(systemd-detect-virt)" != "none" ]; then
|
|
CONTAINER_OR_VM=true
|
|
fi
|
|
|
|
export CONTAINER_OR_VM
|
|
|
|
# if running bash
|
|
if [ -n "$BASH_VERSION" ]; then
|
|
# include .bashrc if it exists
|
|
if [ -f "$HOME/.bashrc" ]; then
|
|
. "$HOME/.bashrc"
|
|
fi
|
|
fi
|
|
|
|
PATH="$HOME/.local/bin:$PATH"
|