2024-02-18 12:36:03 +01:00
|
|
|
case $- in
|
|
|
|
*i*) ;;
|
|
|
|
*) return;;
|
|
|
|
esac
|
|
|
|
|
|
|
|
export OSH=~/.oh-my-bash
|
|
|
|
|
2024-02-19 18:13:38 +01:00
|
|
|
OSH_THEME="powerline-naked"
|
2024-02-18 12:36:03 +01:00
|
|
|
OMB_USE_SUDO=true
|
|
|
|
|
|
|
|
completions=(
|
|
|
|
git
|
|
|
|
composer
|
|
|
|
ssh
|
2024-02-18 18:46:58 +01:00
|
|
|
docker
|
|
|
|
docker-compose
|
|
|
|
go
|
|
|
|
makefile
|
|
|
|
pip3
|
|
|
|
system
|
2024-02-18 12:36:03 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
aliases=(
|
|
|
|
general
|
2024-02-18 18:46:58 +01:00
|
|
|
ls
|
2024-02-18 12:36:03 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
plugins=(
|
|
|
|
git
|
|
|
|
bashmarks
|
|
|
|
)
|
|
|
|
|
|
|
|
source "$OSH"/oh-my-bash.sh
|
|
|
|
|
2024-02-18 18:46:58 +01:00
|
|
|
export LANG=de_DE.UTF-8
|
2024-02-18 12:36:03 +01:00
|
|
|
|
2024-02-19 09:26:12 +01:00
|
|
|
if [ ! -S ~/.ssh/ssh_auth_sock ]; then
|
|
|
|
eval `ssh-agent`
|
|
|
|
ln -sf "$SSH_AUTH_SOCK" ~/.ssh/ssh_auth_sock
|
|
|
|
fi
|
|
|
|
export SSH_AUTH_SOCK=~/.ssh/ssh_auth_sock
|
|
|
|
ssh-add -l > /dev/null || ssh-add
|
2024-02-19 09:17:32 +01:00
|
|
|
|
|
|
|
alias c="composer"
|
|
|
|
alias dc="docker compose"
|
2024-02-19 09:26:12 +01:00
|
|
|
alias gu="gitup"
|
2024-02-18 18:46:58 +01:00
|
|
|
|
2024-02-19 09:17:32 +01:00
|
|
|
[ ! -z "$(which direnv)" ] && eval "$(direnv hook bash)"
|
|
|
|
|
|
|
|
for f in ~/.bashrc.d/*
|
|
|
|
do
|
|
|
|
source "$f"
|
|
|
|
done
|