dotfiles/home/default/.bashrc

31 lines
647 B
Bash
Raw Permalink Normal View History

# if not running interactively, don't do anything
[[ $- != *i* ]] && return
2022-01-13 13:34:46 -05:00
# add environment vars
. ~/.profile
# add scripts folder to path
2021-11-28 13:09:36 -05:00
export PATH="/home/default/scripts:$PATH"
2022-01-07 22:26:55 -05:00
# add secret scripts folder to path
export PATH="/home/default/syncthing/default/scripts:$PATH"
# aliases
alias v=nvim
alias ls="ls --color=auto"
alias errors="journalctl -b -p err | less"
# git
export GIT_DISCOVERY_ACROSS_FILESYSTEM=true
source /usr/share/git/completion/git-prompt.sh
source /usr/share/git/completion/git-completion.bash
PS1='[\u@\h \W$(__git_ps1 " (%s)")]\$ '
# direnv
eval "$(direnv hook bash)"
# asdf-vm
. /opt/asdf-vm/asdf.sh
proverb