aboutsummaryrefslogtreecommitdiffstats
path: root/zsh/.zshrc
blob: 9720ad5499c5dc5ba01213be71428dfd3f17dafb (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
# ZSH Configuration
# Author: Alex Schofield

# Git Alias
alias gs='git status'
alias ga='git add'
alias gc='git commit'
alias gcm='git commit -m'
alias gco='git checkout'
alias gb='git branch'
alias gpl='git pull'
alias gpu='git push'
alias gl='git log --oneline --graph --decorate'
alias glg="git log --graph --pretty=format:'%C(bold blue)%h%Creset - %C(white)%s%Creset %C(dim white)- %an, %ar%Creset' --abbrev-commit"

# Other Alias
alias grep="grep --color=always"

# History
HISTFILE=~/.zsh_history
HISTSIZE=10000
SAVEHIST=10000
setopt append_history
setopt share_history
setopt extended_history
git.ajschof.me — hosted by ajschofield — powered by cgit