diff options
| author | lonkaars <loek@pipeframe.xyz> | 2024-03-10 11:00:17 +0100 |
|---|---|---|
| committer | lonkaars <loek@pipeframe.xyz> | 2024-03-10 11:00:17 +0100 |
| commit | fed2e42488194bfc45a55f687dd97b28a998a3f3 (patch) | |
| tree | 8d1ffe023bb7228c43c35da6db45a72243c94739 /.local/share/mode/plug.d/20_export_vim_theme | |
| parent | f99aa9d2c9baa0ce6ca01f47bf69e4c3901b54a8 (diff) | |
more refactoring
Diffstat (limited to '.local/share/mode/plug.d/20_export_vim_theme')
| -rw-r--r-- | .local/share/mode/plug.d/20_export_vim_theme | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.local/share/mode/plug.d/20_export_vim_theme b/.local/share/mode/plug.d/20_export_vim_theme new file mode 100644 index 0000000..be76b8b --- /dev/null +++ b/.local/share/mode/plug.d/20_export_vim_theme @@ -0,0 +1,6 @@ +#!/bin/sh +# warn if the vim theme is not installed +if [ "$(find "$XDG_CONFIG_HOME/nvim" -name "$vim_theme_name.vim" | wc -l)" -eq 0 ] ; then + echo "warn: vim theme $vim_theme_name does not appear to be installed" >&2 +fi +export vim_theme_name |