Set tilde-shortened-path variable for every cd.