zenvim support for non-x (termux)

This commit is contained in:
Rudis Muiznieks 2022-09-17 10:26:18 -05:00
parent db6c186a20
commit 121b9c4e50
Signed by: rudism
GPG Key ID: CABF2F86EF7884F9
1 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
#!/bin/sh #!/bin/sh
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 }}}}" if command -p 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 }}}}"
fi