dotfiles/dotconf/bashrc
2024-02-19 18:30:21 +01:00

55 lines
701 B
Bash

case $- in
*i*) ;;
*) return;;
esac
export OSH=~/.oh-my-bash
OSH_THEME="powerline-naked"
OMB_USE_SUDO=true
completions=(
git
composer
ssh
docker
docker-compose
go
makefile
pip3
system
)
aliases=(
general
ls
)
plugins=(
git
bashmarks
)
source "$OSH"/oh-my-bash.sh
export LANG=de_DE.UTF-8
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
export GPG_TTY=$(tty)
alias c="composer"
alias dc="docker compose"
alias gu="gitup"
[ ! -z "$(which direnv)" ] && eval "$(direnv hook bash)"
for f in ~/.bashrc.d/*
do
source "$f"
done