mirror of
https://github.com/Stunkymonkey/dotfiles.git
synced 2025-05-24 11:04:41 +02:00
initial commit
This commit is contained in:
commit
86a1da2632
35 changed files with 1162 additions and 0 deletions
25
bash/bashrc
Executable file
25
bash/bashrc
Executable file
|
@ -0,0 +1,25 @@
|
|||
#!/bin/bash
|
||||
|
||||
shopt -s autocd
|
||||
shopt -s checkwinsize
|
||||
export HISTFILESIZE=5000
|
||||
export HISTCONTROL=ignoreboth
|
||||
|
||||
#show colored man-pages
|
||||
export LESS_TERMCAP_mb=$'\E[01;31m'
|
||||
export LESS_TERMCAP_md=$'\E[01;36m'
|
||||
export LESS_TERMCAP_me=$'\E[0m'
|
||||
export LESS_TERMCAP_se=$'\E[0m'
|
||||
export LESS_TERMCAP_so=$'\E[01;44;33m'
|
||||
export LESS_TERMCAP_ue=$'\E[0m'
|
||||
export LESS_TERMCAP_us=$'\E[01;32m'
|
||||
|
||||
alias reload=". ~/.bashrc"
|
||||
|
||||
# Bind PageUp and PageDown to history search
|
||||
if [ -n "$BASH_VERSION" -a -n "$PS1" ]; then
|
||||
bind '"\e[5~": history-search-backward'
|
||||
bind '"\e[6~": history-search-forward'
|
||||
fi
|
||||
|
||||
source ~/.profile.d/load
|
Loading…
Add table
Add a link
Reference in a new issue