forked from Snoweuph/Dotfiles
63 lines
1.3 KiB
Bash
63 lines
1.3 KiB
Bash
#################################
|
|
## Check for Interactivy Shell ##
|
|
#################################
|
|
case $- in
|
|
*i*) ;;
|
|
*) return;;
|
|
esac
|
|
|
|
#################################
|
|
## Toolbx ##
|
|
#################################
|
|
if [ -f "/run/.containerenv" ]; then
|
|
HOME="/var/home/$(whoami)"
|
|
fi
|
|
|
|
#################################
|
|
## Oh My Bash ##
|
|
#################################
|
|
export OSH="$HOME/.config/oh-my-bash"
|
|
OSH_CUSTOM="$HOME/.config/oh-my-bash-custom"
|
|
OSH_THEME="agnoster-modded"
|
|
DEFAULT_USER=$(whoami)
|
|
ENABLE_CORRECTION=true
|
|
OMB_USE_SUDO=true
|
|
|
|
completions=(
|
|
git
|
|
composer
|
|
ssh
|
|
)
|
|
|
|
aliases=(
|
|
general
|
|
)
|
|
|
|
plugins=(
|
|
git
|
|
bashmarks
|
|
)
|
|
source "$OSH"/oh-my-bash.sh
|
|
|
|
#################################
|
|
## Application Envs ##
|
|
#################################
|
|
|
|
# Volta
|
|
export PATH=$PATH:~/.local/bin
|
|
export VOLTA_HOME="$HOME/.volta"
|
|
export PATH="$VOLTA_HOME/bin:$PATH"
|
|
|
|
# Podman as Docker on Immutable Distros
|
|
export DOCKER_HOST=unix:///run/user/1000/podman/podman.sock
|
|
|
|
#################################
|
|
## Aliases ##
|
|
#################################
|
|
|
|
alias nvim-conf="nvim ~/.config/nvim"
|
|
alias bash-conf="nvim #/.bashrc"
|
|
alias todo="nvim ~/Documents/Notes/Todo.md"
|
|
|
|
alias nano="nvim"
|
|
alias neofetch="fastfetch"
|