blob: eedc47a6c7048f2190b0200bc5a4d22f173e57ee (
plain) (
blame)
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
37
38
39
40
|
# some aliases
if [[ "${OSTYPE}" =~ "darwin" ]]; then
alias ls='ls -G'
else
alias ls='ls --color'
fi
# editor
alias e="$EDITOR"
alias et="TERM=xterm-256color emacsclient -nw"
# generic commands
alias cp="cp -i"
alias l="ls"
alias la="ls -a"
alias ll="ls -lh"
alias lt="ls -lhtr"
alias mv="mv -i"
alias rm="rm -i"
alias utc="date -u"
# tools
alias tmux="tmux new-session -A -s work"
alias gerp="grep --color=auto"
alias grep="grep --color=auto"
alias pjson="python -mjson.tool"
# git
alias g="git"
alias gclean="git clean -dfx"
alias gst="git status"
# navigation
alias s="cd ~/src/source"
alias eb="cd ~/src/source/eventbus"
alias ops="cd ~/src/twitter-ops"
alias science="cd ~/src/source/science/"
# zsh stuff
alias zshrc="source ~/.zshrc"
|