dotfiles/home/default/.bashrc
2024-09-16 16:51:49 -04:00

37 lines
751 B
Bash

# if not running interactively, don't do anything
[[ $- != *i* ]] && return
# add environment vars
. ~/.profile
# add exiftool to path
export PATH="/usr/bin/vendor_perl/:$PATH"
# add scripts folder to path
export PATH="/home/default/scripts:$PATH"
# 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
# esp-idf
# . /opt/esp-idf/export.sh
proverb