summaryrefslogtreecommitdiff
path: root/.bashrc
blob: 501709c98098ec7c44322a1ab4521795eabb1dbc (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
# --- preferences

PS1='\[\033[00;33m\]\h \[\033[00;32m\]\w \[\033[00;34m\]\$\[\033[00m\] '

# --- additions to $PATH

# First make $APPDATA use the pathing conventions that the rest of
# $PATH appears to use: C: should be /c and forward- not
# backward-slashes.
CYG_APPDATA=$(echo $APPDATA | sed -e "s|C:|/c|;s/\\\\/\//g")

# Now see if we should add the cabal --user binaries directory.
if [ -d "$CYG_APPDATA/cabal/bin" ]; then
    export PATH="$CYG_APPDATA/cabal/bin:$PATH"
fi

# --- aliases

alias g='git'
alias ga='git annex'
alias workgit='cd ~/doc && git add . && git commit -a -m "work commit" --edit && git push origin master && cd ~/src/dotfiles && git push origin master'
alias mg=$EDITOR
alias fmr='MR_FAST=true mr'

alias win32setup='cd ~/bin && cmd "/c win32setup.bat"; cd -'