updated scripts
This commit is contained in:
parent
fa169ab0b6
commit
5203fdc11f
4 changed files with 82 additions and 0 deletions
22
.local/bin/nvim
Executable file
22
.local/bin/nvim
Executable file
|
@ -0,0 +1,22 @@
|
|||
#!/bin/sh
|
||||
|
||||
ROOT=""$HOME"/Documents/Miscellaneous/archroot"
|
||||
|
||||
bwrap \
|
||||
--dev-bind /dev /dev \
|
||||
--tmpfs /tmp \
|
||||
--proc /proc \
|
||||
--bind "$ROOT"/lib /lib \
|
||||
--bind "$ROOT"/lib64 /lib64 \
|
||||
--bind "$ROOT"/usr/lib /usr/lib \
|
||||
--bind "$ROOT"/usr/lib64 /usr/lib64 \
|
||||
--bind "$ROOT"/usr/bin /usr/bin \
|
||||
--bind "$ROOT"/bin /bin \
|
||||
--bind "$ROOT"/usr/share /usr/share \
|
||||
--bind "$ROOT"/etc /etc \
|
||||
--ro-bind "$ROOT"/etc/resolv.conf /etc/resolv.conf \
|
||||
--bind "$HOME" "$HOME" \
|
||||
--setenv "$XDG_RUNTIME_DIR" "$XDG_RUNTIME_DIR" \
|
||||
--bind "$XDG_RUNTIME_DIR" "$XDG_RUNTIME_DIR" \
|
||||
/usr/bin/nvim "$@"
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue