mirror of https://github.com/harish2704/dotFiles
3 changed files with 25 additions and 4 deletions
@ -1,2 +1,3 @@ |
|||||
./lvim |
./lvim |
||||
./nvim-distro.sh |
./nvim-distro.sh |
||||
|
./lzvim.sh |
||||
|
@ -0,0 +1,13 @@ |
|||||
|
#!/usr/bin/env bash |
||||
|
THIS_DIR=$(dirname $(readlink -f $0)) |
||||
|
PKG=LazyVim |
||||
|
|
||||
|
nvconf="$THIS_DIR/$PKG" |
||||
|
|
||||
|
if [[ -d $nvconf ]]; then |
||||
|
mkdir -p $nvconf/cache |
||||
|
exec -a "Lazyvim" alacritty -e env XDG_CACHE_DIR=$nvconf/cache XDG_CACHE_HOME=$nvconf/cache XDG_DATA_HOME=$nvconf/share XDG_CONFIG_HOME=$nvconf nvim $@ & |
||||
|
else |
||||
|
echo "invalid \$PKG. Available values:" |
||||
|
ls `dirname $nvconf` |
||||
|
fi |
Loading…
Reference in new issue