export EDITOR="/usr/bin/vim"
export PAGER="/usr/bin/less"
export PATH="/home/max/bin:$NPM_PACKAGES/bin:${PATH}"
+export PATH="$PATH:/home/max/bin:$NPM_PACKAGES/bin:$HOME/.rvm/bin"
+[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
unset MANPATH
MANPATH="$NPM_PACKAGES/share/man:$(manpath)"
NODE_PATH="$NPM_PACKAGES/lib/node_modules:$NODE_PATH"
-
-alias emacs="emacs -nw"
-alias ls="ls --color=auto"
-alias la="ls -la"
. /etc/bash_completion
fi
fi
+
+
+# Some simple note taking functions
+n() {
+ $EDITOR ~/notes/"$*".txt
+}
+
+nls() {
+ ls -c ~/notes/ | grep "$*"
+}
+++ /dev/null
-#!/bin/zsh
-
-# zsh config file
-
-# Completion
-autoload -U compinit
-compinit
-
-zstyle ':completion:*:descriptions' format '%U%B%d%b%u'
-zstyle ':completion:*:warnings' format '%BSorry, no matches for: %d%b'
-
-# Correction - zsh will correct mispelt commands
-setopt correctall
-
-# Prompt - Set prompt to gentoo
-autoload -U promptinit
-promptinit
-autoload -U colors && colors
-
-autoload -Uz vcs_info
-precmd () { vcs_info }
-setopt prompt_subst
-
-zstyle ':vcs_info:*' enable git
-zstyle ':vcs_info:*' formats "%s-[%b]"
-PROMPT="%F{green}%n@%m%k %B%F{blue}%3~ %# %b%f%k"
-RPROMPT="%B%F{blue} \${vcs_info_msg_0_} %(?..%F{red}<%?>)"
-
-# Command history
-export HISTSIZE=2000
-export HISTFILE="$HOME/.zsh_history"
-export SAVEHIST=$HISTSIZE
-bindkey "^[[A" history-search-backward
-bindkey "^[[B" history-search-forward
-
-setopt hist_ignore_all_dups
-setopt hist_ignore_space
-
-# Misc
-setopt autocd
-
-export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting
-[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"