Add support for terminal window swallowing

This commit is contained in:
ItsDrike 2021-11-14 20:54:15 +01:00
parent 900f5f2706
commit 2446789d25
No known key found for this signature in database
GPG key ID: FB8CA11A2CF3A843
3 changed files with 9 additions and 1 deletions

View file

@ -12,7 +12,7 @@ set scrolloff 5
cmd open ${{
case $(file --mime-type "$f" -bL) in
text/*|application/json) $EDITOR "$f";;
*) xdg-open "$f" ;;
*) devour xdg-open "$f" ;;
esac
}}