Abizern (owner)

Revisions

gist: 218924 Download_button fork
public
Description:
zsh dotfile
Public Clone URL: git://gist.github.com/218924.git
Embed All Files: show embed
.zshrc #
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
# Prompt
PS1="%. %# "
 
# Turn on some options
setopt auto_cd # Change directory by typing a directory name on its own.
setopt extended_glob # Turn on more powerful pattern matching features.
 
# Set some variables.
# Use 1000 history lines internally, save all of them to ~/.zsh_history
HISTSIZE=1000
SAVEHIST=1000
HISTFILE=~/.zsh_history
GIT_EXTERNAL_DIFF=~/.gitChanges
 
# Define some aliases.
alias ll='ls -l'
alias lla='ls -la'
alias pu=pushd
 
alias gst='git status'
# alias gd='git diff | see'
alias gl='git pull'
alias gp='git push'
alias gc='git commit'
alias gca='git commit -a'
alias gb='git branch'
alias gco='git checkout'
alias gba='git branch -a'
alias gsb='git show-branch'
 
alias gka='gitk --all &'
 
# Load the function-based completion system.
autoload -U compinit
compinit