Skip to content
Permalink
main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
export CURRENT_PROJECT_PATH=$HOME/.current-project
setopt auto_cd
cdpath=($HOME/dev $HOME/dev/unused $HOME/dev/gems $HOME/dev/personal)
if [[ -f ~/.cdpath.local ]]; then
while read -r line
do cdpath=($line $cdpath)
done < ~/.cdpath.local
fi
function chpwd {
echo "$(pwd)" >! "$CURRENT_PROJECT_PATH"
local v=$(projections)
if [[ $? -eq 0 ]]; then
echo $v > .projections.json
fi
ls
}
cd_to_most_recently_opened_directory() {
if [[ -f $CURRENT_PROJECT_PATH && -d "$(cat "$CURRENT_PROJECT_PATH")" ]]; then
cd "$(cat "$CURRENT_PROJECT_PATH")"
fi
}