Browse Source

run nvim

master
zeus 2 years ago
parent
commit
b5a5c61e89
  1. 11
      README.md
  2. 3
      swl-nvim

11
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
>

3
swl-nvim.sh → 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
Loading…
Cancel
Save