dotfiles/top_level/.bashrc
2024-07-18 09:22:00 -04:00

42 lines
848 B
Bash

# .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
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);
}