dotfiles/dotconf/bashrc

60 lines
No EOL
1 KiB
Bash

case $- in
*i*) ;;
*) return;;
esac
export OSH=~/.oh-my-bash
OSH_THEME="powerbash10k"
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
# Preferred editor for local and remote sessions
# if [[ -n $SSH_CONNECTION ]]; then
# export EDITOR='vim'
# else
# export EDITOR='mvim'
# fi
# Compilation flags
# export ARCHFLAGS="-arch x86_64"
# ssh
# export SSH_KEY_PATH="~/.ssh/rsa_id"
# Set personal aliases, overriding those provided by oh-my-bash libs,
# plugins, and themes. Aliases can be placed here, though oh-my-bash
# users are encouraged to define aliases within the OSH_CUSTOM folder.
# For a full list of active aliases, run `alias`.
#
# Example aliases
# alias bashconfig="mate ~/.bashrc"
# alias ohmybash="mate ~/.oh-my-bash"
[ ! -z "$(which starship)" ] && eval "$(starship init bash)"
[ ! -z "$(which direnv)" ] && eval "$(direnv hook bash)"