dotar/custom/zsh.sample/after/after.sample.zsh
yan b292a7a33f Load zsh customizations from custom/zsh/before/* and custom/zsh/after/* instead of filename globbing [Close #79]
* File pattern globbing was too brittle. If you had plugins incorrectly
   named, or had only a before or after directory, things would break in
   nonobvious ways.
2012-04-05 11:49:43 -07:00

21 lines
622 B
Bash

#
# Samples of what you can do in *.after.zsh files.
# You can create as many files as you like, or put everything in one.
#
# define your own aliases or override those provided by YADR.
alias ls='ls -lAhFG'
alias hosts='sudo vim /private/etc/hosts'
# set or override options. two of my favorite are below.
# Automatically cd to frequently used directories http://robots.thoughtbot.com/post/10849086566/cding-to-frequently-used-directories-in-zsh
setopt auto_cd
cdpath=($HOME/Dropbox/code)
# Fancy globbing http://linuxshellaccount.blogspot.com/2008/07/fancy-globbing-with-zsh-on-linux-and.html
setopt extendedglob