diff --git a/chores/mode/nvim_theme.sh b/chores/mode/nvim_theme.sh index d3417fe..a1df593 100755 --- a/chores/mode/nvim_theme.sh +++ b/chores/mode/nvim_theme.sh @@ -10,4 +10,6 @@ # vars none # reload none -kill -USR1 $(pgrep -f 'nvim') +if pids=$(pgrep -fx 'nvim'); then + echo "$pids" | xargs kill -USR1 +fi