scripts/distrobox/toolbox/nvim

9 lines
202 B
Plaintext
Raw Normal View History

2023-01-09 03:48:08 +00:00
#!/bin/sh
# distrobox_binary
# name: toolbox
if [ ! -f /run/.containerenv ] && [ ! -f /.dockerenv ]; then
/usr/bin/distrobox-enter -n toolbox -- /usr/bin/nvim "$@"
else
/usr/bin/nvim "$@"
fi