-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bashrc
36 lines (30 loc) · 793 Bytes
/
.bashrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Source default file
[ -e /etc/skel/.bashrc ] && source /etc/skel/.bashrc
# Get functions
[ -e ~/.bash_functions ] && source ~/.bash_functions
# Set up xterm
xrdb ~/.Xresources
[ -e ~/.dir_colors ] && eval `dircolors ~/.dir_colors`
# Path
pathmunge ~/Documents/scripts
pathmunge /usr/NX/bin after
# Environment variables
export PYTHONSTARTUP=~/.pythonrc.py
export HISTTIMEFORMAT=" [%F] [%T] "
export EDITOR=/usr/bin/vim
# Aliases
alias ps='ps -H'
alias grep='grep --color=auto'
alias more='more -d'
alias dirs='dirs -v'
alias trp='tr ":" "\n"'
alias view='vim -R'
alias ll='ls -lhH --group-directories-first'
alias lt='ls -lhrt'
alias la='ll -A'
alias du='du -hsc'
alias df='df -h'
alias firefox='firefox > /dev/null 2>&1'
alias dater='date -u +%Y-%m-%d_%H-%M-%S'
# Switches
set -o vi