From 90d07a75d7ca6c625d7739a8bde0efcd6d2135d9 Mon Sep 17 00:00:00 2001 From: Al Bailey Date: Tue, 28 Feb 2023 18:29:46 +0000 Subject: [PATCH] Update dev setup with small improvements - ripgrep (rg) and rsync can both be invoked from some stx/docs tox targets and utilities. - override the default editor (nano) with vi. In the future this will be driven by a yaml variable - pass in --rebuild when stx-init-env is run. The build containers are not always up to date with the latest code. Story: 2010547 Task: 47211 Signed-off-by: Al Bailey Change-Id: I1e3b17d57fd537432bc3780759c8a47a2e3b2a5b --- dev-env/vagrant/Vagrantfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dev-env/vagrant/Vagrantfile b/dev-env/vagrant/Vagrantfile index 18be31a..6fa59cd 100644 --- a/dev-env/vagrant/Vagrantfile +++ b/dev-env/vagrant/Vagrantfile @@ -79,10 +79,12 @@ $package_setup = <> ${PROFILE} + # override default editor (nano) + echo "export EDITOR=vi" >> ${PROFILE} # STX_BUILD_HOME is the same as the project workspace MY_WORKSPACE="${MY_LOCALDISK}/WORKSPACE/${PROJECT}"