mirror of https://github.com/qpixel/dotfiles.git
34 lines
970 B
Plaintext
34 lines
970 B
Plaintext
#
|
|
# ~/.bashrc
|
|
#
|
|
|
|
# If not running interactively, don't do anything
|
|
[[ $- != *i* ]] && return
|
|
|
|
# alias ls='ls --color=auto'
|
|
# PS1='[\u@\h \W]\$ '
|
|
|
|
|
|
# Change the window title of X terminals
|
|
case ${TERM} in
|
|
xterm*|rxvt*|Eterm*|aterm|kterm|gnome*|interix|konsole*)
|
|
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/\~}\007"'
|
|
;;
|
|
screen*)
|
|
PROMPT_COMMAND='echo -ne "\033_${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/\~}\033\\"'
|
|
;;
|
|
esac
|
|
|
|
|
|
export NVM_DIR="$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
|
|
export SVDIR=/run/runit/service
|
|
export LC_ALL=en_US.UTF-8
|
|
export EDITOR=nvim
|
|
|
|
|
|
# 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
|