2021-09-13 10:00:15 +02:00
|
|
|
# .bashrc
|
|
|
|
|
|
|
|
# Source global definitions
|
|
|
|
if [ -f /etc/bashrc ]; then
|
|
|
|
. /etc/bashrc
|
|
|
|
fi
|
|
|
|
|
|
|
|
# User specific environment
|
|
|
|
if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]]
|
|
|
|
then
|
|
|
|
PATH="$HOME/.local/bin:$HOME/bin:$HOME/Tools/adr-tools/src:$PATH"
|
|
|
|
fi
|
|
|
|
PATH="$HOME/.local/bin:$HOME/bin:$HOME/Tools/adr-tools/src:$HOME/Tools/helm/linux-arm64:$PATH"
|
|
|
|
export PATH
|
|
|
|
JAVA_HOME=/usr/lib/jvm/java-16
|
|
|
|
export JAVA_HOME
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
|
|
|
# GIt Prompt
|
|
|
|
if [ -f "$HOME/.bash-git-prompt/gitprompt.sh" ]; then
|
|
|
|
GIT_PROMPT_ONLY_IN_REPO=1
|
|
|
|
source $HOME/.bash-git-prompt/gitprompt.sh
|
|
|
|
fi
|
2018-05-09 12:33:08 +02:00
|
|
|
|
2021-09-13 10:00:15 +02:00
|
|
|
[ -f ~/.fzf.bash ] && source ~/.fzf.bash
|
2019-09-20 14:27:55 +02:00
|
|
|
|
2021-09-13 10:00:15 +02:00
|
|
|
alias k9s=/home/jfm/Tools/k9s/k9s
|
2019-09-20 14:27:55 +02:00
|
|
|
|
2020-09-16 14:26:19 +02:00
|
|
|
alias vtmux="tmux split-window -v -p 40"
|
2019-10-23 08:45:38 +02:00
|
|
|
alias dtmux="tmux split-window -h -p 40"
|
|
|
|
alias ptmux="tmux split-window -h -p 40 \; split-window -v -p 25"
|
2019-04-03 11:51:53 +02:00
|
|
|
|
2021-09-13 10:00:15 +02:00
|
|
|
alias code="cd /home/jfm/Customers/Nuuday/code"
|
2019-08-02 11:47:53 +02:00
|
|
|
|
2021-09-13 10:00:15 +02:00
|
|
|
EDITOR=nvim
|
|
|
|
export EDITOR
|