dotfiles/.bashrc
2023-12-25 01:18:28 +03:00
Ask

27 lines
477 B
Bash

{1dca5c61f26a96cf38d28ead1e8f011feef51312 true 477 .bashrc 0xc00b3877a0}

# .bashrc
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
PS1='[\u@\h \W]\$ '
# Infinite history
HISTSIZE= HISTFILESIZE=
# Auto cd
shopt -s autocd
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 "$@"
}