2012-05-18 13:46:36 +04:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
umask 0002
|
|
|
|
shopt -s histappend
|
|
|
|
shopt -s cmdhist
|
|
|
|
shopt -s cdspell
|
2023-10-09 23:00:30 +03:00
|
|
|
shopt -s globstar
|
2012-05-18 13:46:36 +04:00
|
|
|
export PATH="$PATH:/usr/local/bin:/sbin:/usr/sbin:/usr/local/sbin:~/bin:~/scripts"
|
|
|
|
[ -x /usr/bin/vim ] && export EDITOR=/usr/bin/vim
|
|
|
|
export HISTCONTROL="ignoredupes"
|
|
|
|
HISTIGNORE="&:ls:[bf]g:exit: cd \"\`*: PROMPT_COMMAND=\'*:cd \'/*"
|
|
|
|
export LESS=' -R '
|
|
|
|
export PROMPT_COMMAND='history -a'
|
|
|
|
[ -x /usr/bin/src/hilite-lesspipe.sh ] && export LESSOPEN="| /usr/bin/src-hilite-lesspipe.sh %s"
|
2013-01-21 16:44:49 +04:00
|
|
|
|
|
|
|
unset DBUS_SESSION_BUS_ADDRESS
|
2013-03-15 12:28:42 +04:00
|
|
|
|
2013-03-18 17:20:18 +04:00
|
|
|
if [[ "linux" == "$TERM" && -f $HOME/.dircolors ]]; then
|
|
|
|
eval $(dircolors -b $HOME/.dircolors)
|
|
|
|
elif [[ "linux" != "$TERM" && -f $HOME/.dircolors_256 ]]; then
|
|
|
|
eval $(dircolors -b $HOME/.dircolors_256)
|
|
|
|
fi
|
2019-06-17 11:30:29 +03:00
|
|
|
|
2024-02-21 20:12:50 +03:00
|
|
|
export XCURSOR_SIZE=24
|
|
|
|
|
2019-06-17 11:30:29 +03:00
|
|
|
export COLORTERM=truecolor
|
2019-06-17 13:15:46 +03:00
|
|
|
PROMPT_COLOR=36m
|
|
|
|
PROMPT_END=$
|
2022-01-15 21:57:15 +03:00
|
|
|
HOST_FG=31m
|
|
|
|
HOST_BG=49
|