dotfiles/bash/.bashrc
2019-02-05 06:12:12 -05:00

23 lines
331 B
Bash

#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '
if [ -f /usr/share/nvm/init-nvm.sh ];
then
source /usr/share/nvm/init-nvm.sh
fi
GPG_TTY=$(tty)
export GPG_TTY
if [ -x "$(command -v direnv)" ];
then
eval "$(direnv hook bash)"
fi