dotfiles/.bashrc

27 lines
477 B
Bash
Raw Normal View History

2023-11-13 01:52:14 +03:00
# .bashrc
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
PS1='[\u@\h \W]\$ '
# Infinite history
HISTSIZE= HISTFILESIZE=
2023-12-25 01:18:28 +03:00
# Auto cd
shopt -s autocd
2023-11-13 01:52:14 +03:00
export PATH=$PATH:$HOME/.local/bin
source $HOME/.bash_aliases
man() {
LESS_TERMCAP_md=$'\e[01;31m' \
LESS_TERMCAP_me=$'\e[0m' \
LESS_TERMCAP_se=$'\e[0m' \
LESS_TERMCAP_so=$'\e[01;44;37m' \
LESS_TERMCAP_ue=$'\e[0m' \
LESS_TERMCAP_us=$'\e[01;32m' \
command man "$@"
}