move bash files to .config dir

This commit is contained in:
2024-10-26 16:39:58 +03:00
parent a7861fa603
commit 4e6ac3dfc6
4 changed files with 38 additions and 68 deletions

View File

@@ -0,0 +1,32 @@
if [ -f /usr/share/git/git-prompt.sh ]; then
source /usr/share/git/git-prompt.sh
fi
export EDITOR=nvim
export VISUAL=nvim
export DOTFILES="$HOME/dotfiles"
export HISTSIZE=10000
# Go ENVs
export GO111MODULE=auto
export GOBIN="$HOME/go/bin"
MY_BIN="$DOTFILES/bin"
RUST_BIN="$HOME/.cargo/bin"
PYTHON_BIN="$HOME/.local/bin"
export PATH="$PATH:$MY_BIN:$PYTHON_BIN:$RUST_BIN:$GOBIN"
source $HOME/.config/bash-completions/*
source $HOME/.config/bash/aliases.bash
shopt -s autocd
_GREEN="\[\033[32m\]"
_BLUE="\[\033[34m\]"
_RED="\[\033[31m\]"
_BOLD="\[\033[1m\]"
_RESET="\[\033[0m\]"
PS1=$_BLUE$_BOLD'\w'$_RESET$_RED$_BOLD'$(__git_ps1 " [%s]")'$_RESET' \$ '