I'm a newcomer to Ubuntu (and linux in general) and since I have a machine spare, I have Ubuntu Server (terminal only) installed on one of my machines. I've recently started playing around with my dotfiles, however it seems I've messed something up as changing directory to '~' no longer presents me with the expected user's home directory!
The .bashrc file that's in my dotfiles directory then points to a ".env" file at ~/bin/dotfiles/.env which contains the following:
export EDITOR="nano"
export PATH=$PATH:~/bin
export home="/home/joe/"
export dotfiles="/home/joe/bin/dotfiles"
Does anyone have any ideas to restore the tilde to my user's home location?