dotfiles/top_level/.bashrc

43 lines
885 B
Bash
Raw Permalink Normal View History

# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
if [ -f "${HOME}/.bash_aliases" ]; then
source "${HOME}/.bash_aliases"
fi
# User specific environment
if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]]; then
PATH="$HOME/.local/bin:$HOME/bin:$PATH"
fi
export PATH
HISTSIZE=1000000
# Uncomment the following line if you don't like systemctl's auto-paging feature:
# export SYSTEMD_PAGER=
# User specific aliases and functions
if [ -d ~/.bashrc.d ]; then
for rc in ~/.bashrc.d/*; do
if [ -f "$rc" ]; then
. "$rc"
fi
done
fi
unset rc
2024-07-18 09:22:00 -04:00
unset SSH_ASKPASS
unset GIT_ASKPASS
alias nvimc="nvim ~/.config/nvim"
alias bashrc="nvim ~/.bashrc"
alias vpy="source ./venv/bin/activate"
export XDG_CONFIG_HOME=~/.config
function fcd() {
cd $(find . -type d -print | fzf);
}
2024-09-05 13:19:36 -04:00
export PATH="$HOME/.cargo/bin:$PATH"