Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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.

1 Answer 1

up vote 3 down vote accepted

A recent update slipped in a...

HOME="/home/carlos"

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

 
discard

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.