
profiles.zsh.rc Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pommes Show documentation
Show all versions of pommes Show documentation
Project checkout manager and database tool.
The newest version!
if [ -z "${POMMES_AUTO_CD}" ] ; then
export POMMES_AUTO_CD=/tmp/pommes-$$
pommes_precmd() {
# wrap in eval to avoid bash syntax error
eval "files=(${POMMES_AUTO_CD}-*(N))"
for file in ${files}; do
cd $(cat $file)
rm ${file}
done
}
autoload -Uz add-zsh-hook
add-zsh-hook precmd pommes_precmd
alias pg='pommes goto'
# else
# already initialized, nothing to do
fi
© 2015 - 2025 Weber Informatics LLC | Privacy Policy