summaryrefslogtreecommitdiff
path: root/dot-profile
blob: 08e60cdceb9108bb7690c38f688406316536fb07 (plain)
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

# MacPorts Installer addition on 2010-01-16_at_22:19:33: adding an appropriate PATH variable for use with MacPorts.
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
# Finished adapting your PATH environment variable for use with MacPorts.

. ~/bin/navigation.sh

# Eternal bash history.
# ---------------------
export HISTFILESIZE=
export HISTSIZE=
export HISTTIMEFORMAT="[%F %T] "
# Change the file location because certain bash sessions truncate .bash_history file upon close.
export HISTFILE=~/.bash_eternal_history

# Use MacPorts GNU commands instead of Mac BSD defaults
alias sort=/opt/local/libexec/gnubin/sort
alias ls='/opt/local/libexec/gnubin/ls --color=auto'
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'

# some more ls aliases
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'