Created
February 7, 2016 02:16
-
-
Save pmachapman/19fa2a89939fb9c48172 to your computer and use it in GitHub Desktop.
.bashrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .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