move bash files to .config dir
This commit is contained in:
@@ -1,18 +0,0 @@
|
|||||||
#
|
|
||||||
# ~/.bash_profile
|
|
||||||
#
|
|
||||||
|
|
||||||
[[ -f ~/.bashrc ]] && . ~/.bashrc
|
|
||||||
|
|
||||||
export QT_QPA_PLATFORM="wayland"
|
|
||||||
export QT_QPA_PLATFORMTHEME=qt5ct
|
|
||||||
export QT_WAYLAND_DISABLE_WINDOWDECORATION="1"
|
|
||||||
|
|
||||||
export XDG_CURRENT_DESKTOP=sway
|
|
||||||
|
|
||||||
export MOZ_ENABLE_WAYLAND=1
|
|
||||||
|
|
||||||
export _JAVA_AWT_WM_NONREPARENTING=1
|
|
||||||
|
|
||||||
export VDPAU_DRIVER=radeonsi
|
|
||||||
export LIBVA_DRIVER_NAME=radeonsi
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
# If not running interactively, don't do anything
|
|
||||||
[[ $- != *i* ]] && return
|
|
||||||
|
|
||||||
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"
|
|
||||||
ANDROID_BIN="$ANDROID_SDK_ROOT/emulator:$ANDROID_SDK_ROOT/platform-tools"
|
|
||||||
BUN_INSTALL="$HOME/.bun"
|
|
||||||
BUN_BIN="$BUN_INSTALL/bin"
|
|
||||||
|
|
||||||
export PATH="$PATH:$MY_BIN:$PYTHON_BIN:$RUST_BIN:$GOBIN:$ANDROID_BIN:$BUN_BIN"
|
|
||||||
|
|
||||||
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' \$ '
|
|
||||||
|
|
||||||
# BEGIN_KITTY_SHELL_INTEGRATION
|
|
||||||
if test -n "$KITTY_INSTALLATION_DIR" -a -e "$KITTY_INSTALLATION_DIR/shell-integration/bash/kitty.bash"; then source "$KITTY_INSTALLATION_DIR/shell-integration/bash/kitty.bash"; fi
|
|
||||||
# END_KITTY_SHELL_INTEGRATION
|
|
||||||
|
|
||||||
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
|
|
||||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
|
||||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
|
||||||
|
|
||||||
TZ=:/etc/localtime
|
|
||||||
|
|
||||||
export FONTCONFIG_PATH=/etc/fonts
|
|
||||||
6
config/.config/bash/profile.bash
Normal file
6
config/.config/bash/profile.bash
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
export MOZ_ENABLE_WAYLAND=1
|
||||||
|
|
||||||
|
export _JAVA_AWT_WM_NONREPARENTING=1
|
||||||
|
|
||||||
|
export VDPAU_DRIVER=radeonsi
|
||||||
|
export LIBVA_DRIVER_NAME=radeonsi
|
||||||
32
config/.config/bash/rc.bash
Normal file
32
config/.config/bash/rc.bash
Normal 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' \$ '
|
||||||
Reference in New Issue
Block a user