Commits

MrTux Hdb committed c0c9800

Use new oh-my-zsh zshrc template. Use gpg-agent plugin

  • Participants
  • Parent commits a854222

Comments (0)

Files changed (1)

 #!/bin/zsh
 # ~/.zshrc
-# Last Modified: 26/12/2013 07:40 PM
+# Last Modified: 25/01/2014 01:11 AM
 
 # Path to your oh-my-zsh configuration.
 ZSH=$HOME/.oh-my-zsh
 # time that oh-my-zsh is loaded.
 ZSH_THEME="mrtux"
 
+# Source shell_alias, shell_env, shell_functions
+[[ -s "$HOME/.shell_env" ]] && source "$HOME/.shell_env"
+[[ -s "$HOME/.shell_aliases" ]] && source "$HOME/.shell_aliases"
+[[ -s "$HOME/.shell_functions" ]] && source "$HOME/.shell_functions"
+
 # Set to this to use case-sensitive completion
 # CASE_SENSITIVE="true"
 
-# Comment this out to disable weekly auto-update checks
+# Uncomment this to disable bi-weekly auto-update checks
 # DISABLE_AUTO_UPDATE="true"
 
+# Uncomment to change how often before auto-updates occur? (in days)
+# export UPDATE_ZSH_DAYS=13
+
 # Uncomment following line if you want to disable colors in ls
 # DISABLE_LS_COLORS="true"
 
 # Uncomment following line if you want to disable autosetting terminal title.
 # DISABLE_AUTO_TITLE="true"
 
+# Uncomment following line if you want to disable command autocorrection
+# DISABLE_CORRECTION="true"
+
 # Uncomment following line if you want red dots to be displayed while waiting for completion
 COMPLETION_WAITING_DOTS="true"
 
+# Uncomment following line if you want to disable marking untracked files under
+# VCS as dirty. This makes repository status check for large repositories much,
+# much faster.
+DISABLE_UNTRACKED_FILES_DIRTY="true"
+
+# Uncomment following line if you want to  shown in the command execution time stamp
+# in the history command output. The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|
+# yyyy-mm-dd
+HIST_STAMPS="dd.mm.yyyy"
+
 # Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
 # Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
 # Example format: plugins=(rails git textmate ruby lighthouse)
 plugins=( battery bundler colorize command-not-found common-aliases cp debian
           emoji-clock encode64 extract gem git git-extras git-flow
-          git-remote-branch github gitignore go heroku history
+          git-remote-branch github gitignore gpg-agent go heroku history
           history-substring-search mercurial mosh pip python rails rake rsync
           ruby rvm sbt scala screen sudo svn systemadmin
           tmux tmuxinator urltools virtualenv virtualenvwrapper vundle
 # systems without the proper terminfo
 ZSH_TMUX_FIXTERM_WITH_256COLOR="screen-256color"
 
+# source oh-my-zsh
+source $ZSH/oh-my-zsh.sh
+
+# User configuration
+
 # Color listing
 eval $(dircolors ~/.dir_colors)
 zstyle ':completion:*' list-colors "${(s.:.)LS_COLORS}"
 
-# Source shell_alias, shell_env, shell_functions
-[[ -s "$HOME/.shell_env" ]] && source "$HOME/.shell_env"
-[[ -s "$HOME/.shell_aliases" ]] && source "$HOME/.shell_aliases"
-[[ -s "$HOME/.shell_functions" ]] && source "$HOME/.shell_functions"
-
 ##### Ruby RVM #####
 # Load RVM into a shell session *as a function*
 [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
 bashcompinit
 source /home/mrtux/app/google-cloud-sdk/arg_rc
 
-# source oh-my-zsh
-source $ZSH/oh-my-zsh.sh
-
-# Customize to your needs...
-
 # Automatically run ls after every cd
 # function chpwd() {
 #     emulate -L zsh