22 lines
448 B
Plaintext
22 lines
448 B
Plaintext
# ~/.bashrc: executed by bash for non-login shells
|
|
|
|
# If not running interactively, don't do anything
|
|
case $- in
|
|
*i*) ;;
|
|
*) return;;
|
|
esac
|
|
|
|
# History settings
|
|
HISTCONTROL=ignoreboth
|
|
HISTSIZE=1000
|
|
HISTFILESIZE=2000
|
|
shopt -s histappend
|
|
|
|
# Check the window size after each command
|
|
shopt -s checkwinsize
|
|
|
|
# Make less more friendly for non-text input files
|
|
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
|
|
|
|
export PS1='\u@\h:\w\$ '
|