Skip to content

Instantly share code, notes, and snippets.

@pmachapman
Created February 7, 2016 02:16
Show Gist options
  • Save pmachapman/19fa2a89939fb9c48172 to your computer and use it in GitHub Desktop.
Save pmachapman/19fa2a89939fb9c48172 to your computer and use it in GitHub Desktop.
.bashrc
# .bashrc
# User specific aliases and functions
alias cp='cp -i'
alias l.='ls -d .* --color=auto'
alias ll='ls -l --color=auto'
alias ls='ls --color=auto'
alias mv='mv -i'
alias news=slrn
alias pacman='pacman --color=auto'
alias rm='rm -i'
alias vi=vim
alias which='alias | /usr/bin/which --tty-only --read-alias --show-dot --show-tilde'
# Set up the bash prompt
# root:
PS1='\[\e[0;31m\]\u\[\e[m\] \[\e[1;34m\]\w\[\e[m\] \[\e[0;31m\]\$ \[\e[m\]\[\e[0;32m\]'
# non-root:
#PS1='\[\e[0;32m\]\u\[\e[m\] \[\e[1;34m\]\w\[\e[m\] \[\e[1;32m\]\$\[\e[m\] \[\e[1;37m\]'
NNTPSERVER='nntp.aioe.org' && export NNTPSERVER
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment