dotfiles/home/default/.bashrc

37 lines
751 B
Bash
Raw 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
2024-01-21 11:48:57 -05:00
# add exiftool to path
export PATH="/usr/bin/vendor_perl/:$PATH"
# 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
2024-01-21 11:48:57 -05:00
# esp-idf
# . /opt/esp-idf/export.sh
proverb