You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
465 B
23 lines
465 B
3 years ago
|
# ~/.bashrc
|
||
|
#
|
||
|
|
||
|
# If not running interactively, don't do anything
|
||
|
[[ $- != *i* ]] && return
|
||
|
|
||
|
if [[ -f ~/.bash_home ]]; then
|
||
|
. ~/.bash_home
|
||
|
fi
|
||
|
|
||
|
alias emacs='emacsclient -ct'
|
||
|
alias ls='ls --color=auto'
|
||
|
alias diff='diff --color=auto'
|
||
|
alias grep='grep --color=auto'
|
||
|
alias cp="rsync -r --progress"
|
||
|
alias mv="rsync -aP --remove-source-files"
|
||
|
|
||
|
GREEN="\[$(tput setaf 4)\]"
|
||
|
GREENER="\[$(tput setaf 2)\]"
|
||
|
RESET="\[$(tput sgr0)\]"
|
||
|
|
||
|
PS1="${GREEN}\u@\h ${GREENER}\W ${RESET}> "
|