From 138139c25e4eceeefc6727e1886ad997fb82ad0d Mon Sep 17 00:00:00 2001 From: Rod Treweek Date: Wed, 28 Jun 2017 17:44:11 -0700 Subject: [PATCH] Missing the 'r' on the end. I missed adding the 'r' to the end of the function. Fixing this so that instead of `vssh` which we already have an alias for, we have instead `vsshr`. --- plugins/available/vagrant-as-root.plugin.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/available/vagrant-as-root.plugin.bash b/plugins/available/vagrant-as-root.plugin.bash index 74ff24c5..af8af437 100644 --- a/plugins/available/vagrant-as-root.plugin.bash +++ b/plugins/available/vagrant-as-root.plugin.bash @@ -1,4 +1,4 @@ # Simple function for vagrant ssh that immediately switches to root. -function vssh() { +function vsshr() { vagrant ssh $1 -- -t 'sudo su -; /bin/bash' }