skeletal_bashrc @ 526cc3926998

Merge.
author Steve Losh <steve@stevelosh.com>
date Sun, 17 Nov 2019 16:43:27 -0500
parents 9af48fd636c1
children (none)
if [ -f /etc/bashrc ]; then
        . /etc/bashrc
fi

eval "$(dircolors -b ~/.dircolors)"

D=$'\e[37m'
PINK=$'\e[35m'
GREEN=$'\e[32m'
ORANGE=$'\e[33m'

export PS1='\n${PINK}\u ${D}at ${ORANGE}\h ${D}in ${GREEN}\w${D}\n$ '

alias nvim=vim
alias ..="cd .."
alias ...="cd ../.."
alias ....="cd ../../.."
alias g=git
alias h=hg

alias l1="tree --dirsfirst -ChFL 1"
alias l2="tree --dirsfirst -ChFL 2"
alias l3="tree --dirsfirst -ChFL 3"
alias l4="tree --dirsfirst -ChFL 4"
alias l5="tree --dirsfirst -ChFL 5"
alias ll1="tree --dirsfirst -ChFupDaL 1"
alias ll2="tree --dirsfirst -ChFupDaL 2"
alias ll3="tree --dirsfirst -ChFupDaL 3"
alias ll4="tree --dirsfirst -ChFupDaL 4"
alias ll5="tree --dirsfirst -ChFupDaL 5"

alias l=l1
alias ll=ll1

export PAGER=less

shopt -s histappend
HISTFILESIZE=100000
HISTSIZE=100000
HISTCONTROL=ignoreboth
shopt -s cmdhist

PROMPT_COMMAND='history -a'

PATH=$PATH:$HOME/.local/bin:$HOME/bin
export PATH