From b5a5c61e8947b7f1bcc86746a55e57432586df73 Mon Sep 17 00:00:00 2001 From: zeus Date: Tue, 28 Mar 2023 12:01:19 +0300 Subject: [PATCH] run nvim --- README.md | 11 +++++++++-- swl-nvim.sh => swl-nvim | 3 --- 2 files changed, 9 insertions(+), 5 deletions(-) rename swl-nvim.sh => swl-nvim (92%) diff --git a/README.md b/README.md index ca49cf6..7729f5f 100644 --- a/README.md +++ b/README.md @@ -27,12 +27,19 @@ > ./set-ca.sh > +## add PATH /home/[user]/.bashrc + +> add this +> +> export PATH=$PATH:[full path of dir4project] +> +> ## docker run -> cd [dir4project] +> cd [dir] > -> ./swl-nvim.sh +> swl-nvim > diff --git a/swl-nvim.sh b/swl-nvim similarity index 92% rename from swl-nvim.sh rename to swl-nvim index 7774588..e6e2ab6 100755 --- a/swl-nvim.sh +++ b/swl-nvim @@ -5,8 +5,5 @@ docker volume create my-nvim-volume if [ $# -eq 0 ]; then docker run -it -v my-nvim-volume:/root -v $(pwd):/root/appl --name my-nvim-appl hub.swarmlab.io:5443/nvim /bin/bash -c "nvim" else - #echo "Arguments provided" docker run -it -v my-nvim-volume:/root -v $(pwd):/root/appl --name my-nvim-appl hub.swarmlab.io:5443/nvim /bin/bash -c "nvim $1" fi - -