yunohodot/bashrc

35 lines
554 B
Bash

#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
alias ls='ls --color=auto'
set -o vi
bind 'set show-all-if-ambiguous on'
bind 'set completion-ignore-case on'
bind 'TAB:menu-complete'
HISTSIZE=50000
HISTFILESIZE=100000
shopt -s histappend
bind '"\e[A": history-search-backward'
bind '"\e[B": history-search-forward'
alias clr="clear"
function mkcd {
mkdir "$@" && builtin cd "$@"
}
alias cz="cd .. && ls"
alias czz="cd ../.. && ls"
alias czzz="cd ../../.. && ls"
alias czzzz="cd ../../../.. && ls"