Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Not sure what changed the meaning of the home path ~ in my zsh. So when I do cd ~ , I dont cd into my home but it gives me an error that /Users/carlos does not exist.

How can I reset ~ to refer to the current user again?

share|improve this question

migrated from stackoverflow.com Nov 26 '12 at 2:45

This question came from our site for professional and enthusiast programmers.

up vote 3 down vote accepted

A recent update slipped in a...


Remove the file ~/.oh-my-zsh/custom/totvs.sh to fix it.

You can also run upgrade_oh_my_zsh. If you've made the change above, navigate to /Users/user/.oh-my-zsh and execute git checkout ..

share|improve this answer
I figured something went wrong with oh-my-zsh so I uninstalled and reinstalled - all's ok now - thanks – chohi Nov 26 '12 at 2:41

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.