dotfiles/bash/.bashrc

33 lines
717 B
Bash
Raw Normal View History

2021-09-13 10:00:15 +02:00
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
2024-04-24 21:25:07 +02:00
. /etc/bashrc
2021-09-13 10:00:15 +02:00
fi
# User specific environment
2024-04-24 21:25:07 +02:00
if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]]; then
PATH="$HOME/.local/bin:$HOME/bin:$PATH"
2021-09-13 10:00:15 +02:00
fi
export PATH
# 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
2024-04-24 21:25:07 +02:00
for rc in ~/.bashrc.d/*; do
if [ -f "$rc" ]; then
. "$rc"
fi
done
2021-09-13 10:00:15 +02:00
fi
unset rc
2024-04-24 21:25:07 +02:00
export EDITOR=nvim
2019-04-03 11:51:53 +02:00
2024-04-24 21:25:07 +02:00
alias comms="/home/jfm/Repositories/tmux-scripts/comms.sh ."
alias dev="/home/jfm/Repositories/tmux-scripts/setup_development.sh ."
2019-08-02 11:47:53 +02:00
2024-04-24 21:25:07 +02:00
complete -C /usr/bin/terraform terraform