fixed zenvim script

This commit is contained in:
Rudis Muiznieks 2022-11-20 18:01:04 -06:00
parent d02821a9fe
commit 9d5facdeab
Signed by: rudism
GPG key ID: CABF2F86EF7884F9

View file

@ -1,6 +1,6 @@
#!/bin/sh
if command -p st 2>/dev/null; then
if command -v st 2>/dev/null; then
st -f "monospace:pixelsize=26:antialias=true:autohint=true" -e nvim ~/writing +TZAtaraxis -c "lua require('telescope').setup { defaults = { layout_strategy = 'vertical', layout_config = { vertical = { preview_cutoff = 10 }}}}"
else
nvim ~/writing +TZAtaraxis -c "lua require('telescope').setup { defaults = { layout_strategy = 'vertical', layout_config = { vertical = { preview_cutoff = 10 }}}}"