Permalink
Browse files

Tweaks

  • Loading branch information...
1 parent f7fa3a6 commit cae47638d6546dfe8b648185501fff3166dea372 @dflems committed Dec 3, 2013
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
View
@@ -8,6 +8,12 @@ export NODE_PATH="/usr/local/lib/node"
# homebrew
export PATH="/usr/local/bin:/usr/local/sbin:$PATH"
+# coreutils
+cu=$(brew --prefix coreutils 2>/dev/null)
+if [[ ! -z "$cu" ]]; then
+ export PATH="$cu/libexec/gnubin:$PATH"
+fi
+
# dotfiles bin
export PATH="$ZSH/bin:$ZSH/git/bin:$PATH"
View
@@ -1,2 +1 @@
alias reload!='. ~/.zshrc'
-alias last_modified='ls -t $* 2> /dev/null | head -n 1'
View
@@ -7,9 +7,9 @@ fi
export LSCOLORS="exfxcxdxbxegedabagacad"
export CLICOLOR=true
-fpath=($ZSH/zsh/functions $fpath)
+fpath=($ZSH/functions $fpath)
-autoload -U $ZSH/zsh/functions/*(:t)
+autoload -U $ZSH/functions/*(:t)
HISTFILE=~/.zsh_history
HISTSIZE=10000
View
@@ -1,2 +0,0 @@
-#compdef h
-_files -W ~ -/
View
@@ -1 +0,0 @@
-cd ~/$1;
View
@@ -22,13 +22,18 @@ fi
typeset -U config_files
config_files=($ZSH/**/*.zsh)
+# load the path files
+for file in ${(M)config_files:#*/path.zsh}
+do
+ source $file
+done
+
# load everything but the path and completion files
for file in ${${config_files:#*/path.zsh}:#*/completion.zsh}
do
source $file
done
-
# initialize autocomplete here, otherwise functions won't be loaded
autoload -U compinit && compinit

0 comments on commit cae4763

Please sign in to comment.