dimanche 12 février 2017

Vagrant provisioning command does not add aliases to ~/.profile

Vote count: 0

I have a fairly vanilla Vagrant setup running trusty64. It's being configured by a single shell file. Among others, it contains an aliasing of python3 to python and pip3 to pip, respectively:

echo "Writing aliases to profile:" echo "alias python=\"python3\"" >> ~/.profile echo "alias pip=pip3" >> ~/.profile . ~/.profile

For some mysterious reason, these lines never make it into ~/.profile. There is no error message, nor any other commotion, it's just that nothing happens. This being 2am, I am fairly sure I'm doing something wrong, I just can't figure out what it is. :S

asked 1 min ago

Let's block ads! (Why?)



Vagrant provisioning command does not add aliases to ~/.profile

Aucun commentaire:

Enregistrer un commentaire