#!/usr/bin/env zsh # vim:ft=zsh: # Eryn Wells function append_to_path { if [[ -d "$1" ]]; then path+="$1" export path fi } append_to_path "$@"