Improve bashrc

This commit is contained in:
Snoweuph 2024-08-03 13:17:37 +02:00
parent 93db3d0320
commit ae4b252b6c
Signed by: Snoweuph
GPG key ID: A494330694B208EF

View file

@ -19,7 +19,7 @@ fi
## Toolbox ## ## Toolbox ##
################################## ##################################
if [[ -e "/run/.toolboxenv" ]]; then if [[ -e "/run/.toolboxenv" ]]; then
export TOOLBX_NAME=$(grep '^name=' /run/.containerenv | cut -d '=' -f 2 | tr -d '"') export TOOLBX_TOOLBOX_NAME=$(grep '^name=' /run/.containerenv | cut -d '=' -f 2 | tr -d '"')
fi fi
################################## ##################################
@ -27,7 +27,7 @@ fi
################################## ##################################
export OSH="$HOME/.config/oh-my-bash" export OSH="$HOME/.config/oh-my-bash"
OSH_CUSTOM="$HOME/.config/oh-my-bash-custom" OSH_CUSTOM="$HOME/.config/oh-my-bash-custom"
OSH_THEME="agnoster-modded" OSH_THEME="agnoster-modded" #powerbash10k, lambda
DEFAULT_USER=$(whoami) DEFAULT_USER=$(whoami)
ENABLE_CORRECTION=true ENABLE_CORRECTION=true
OMB_USE_SUDO=true OMB_USE_SUDO=true
@ -89,9 +89,10 @@ alias git="git -c user.signingKey='$key'"
################################## ##################################
## Aliases ## ## Aliases ##
################################## ##################################
alias edit-conf-nvim="nvim ~/.config/nvim" alias edit-nvim-conf="nvim ~/.config/nvim"
alias edit-conf-bash="nvim ~/.bashrc" alias edit-bash-conf="nvim ~/.bashrc"
alias todo="nvim ~/Documents/Notes/Todo.md" alias todo="nvim ~/Documents/Notes/Todo.md"
alias nano="nvim" alias nano="nvim"
alias neofetch="fastfetch" alias neofetch="fastfetch"