mirror of
https://github.com/spirit-x64/dotfiles.git
synced 2025-01-19 01:51:47 +03:00
32 lines
751 B
Bash
32 lines
751 B
Bash
{ebf3f031f1505db51f98734d06072607e347dec3 true 751 .bashrc 0xc001cd39d0}
# .bashrc
|
|
|
|
export PATH=$PATH:$HOME/.local/bin
|
|
|
|
# If not running interactively, don't do anything
|
|
[[ $- != *i* ]] && return
|
|
|
|
PS1='[\u@\h \W]\$ '
|
|
|
|
# Infinite history
|
|
HISTSIZE= HISTFILESIZE=
|
|
|
|
# Auto cd
|
|
shopt -s autocd
|
|
|
|
# check the window size after each command and, if necessary,
|
|
# update the values of LINES and COLUMNS.
|
|
shopt -s checkwinsize
|
|
|
|
source $HOME/.bash_aliases
|
|
|
|
# enable programmable completion features (you don't need to enable
|
|
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
|
|
# sources /etc/bash.bashrc).
|
|
if ! shopt -oq posix; then
|
|
if [ -f /usr/share/bash-completion/bash_completion ]; then
|
|
. /usr/share/bash-completion/bash_completion
|
|
elif [ -f /etc/bash_completion ]; then
|
|
. /etc/bash_completion
|
|
fi
|
|
fi
|