Last active
December 18, 2015 01:48
-
-
Save benkaiser/5705938 to your computer and use it in GitHub Desktop.
My zshrc as of 2013-06-04. Custom aliases for Ubuntu / Work with vim turned on also.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Lines configured by zsh-newuser-install | |
HISTFILE=~/.histfile | |
HISTSIZE=1000 | |
SAVEHIST=1000 | |
setopt autocd | |
bindkey -v | |
# End of lines configured by zsh-newuser-install | |
# The following lines were added by compinstall | |
zstyle :compinstall filename '/home/benkaiser/.zshrc' | |
autoload -Uz compinit | |
compinit | |
# End of lines added by compinstall | |
setopt correct | |
bindkey '^R' history-incremental-search-backward | |
# Make mouse scrolling work. | |
GDK_CORE_DEVICE_EVENTS=1 | |
export GDK_CORE_DEVICE_EVENTS | |
# custom prompt! | |
autoload -U colors && colors | |
PS1="%{$fg[cyan]%}=[%D{%L:%M %p}]=> %{$fg_bold[red]%}%n%{$reset_color%}%{$fg[cyan]%}@%{$fg_bold[blue]%}%m%{$reset_color%}%{$fg[cyan]%}:%{$fg[yellow]%}%~ | |
%{$fg[cyan]%}%h > %{$reset_color%}" | |
# aliases | |
alias kc-pp='git --git-dir=$HOME/GIT/kaisercraft/.git push origin master;$HOME/GIT/kaisercraft/scripts/live-push' | |
alias sleeper="sleep 2; xset dpms force off" | |
alias youtube-mp3="youtube-dl -t -x --audio-format mp3 --audio-quality 0" | |
alias gpom="git push origin master" | |
alias xclip='xclip -selection c' | |
# exports | |
export SDL_AUDIODRIVER=pulseaudio |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment