diff options
author | Vikas Kushwaha <dev@vikas.rocks> | 2025-04-29 09:25:30 +0530 |
---|---|---|
committer | Vikas Kushwaha <dev@vikas.rocks> | 2025-04-29 09:28:54 +0530 |
commit | 7df7120b1ae66ed0e9a7c6ed9b224ba44ea1d920 (patch) | |
tree | 1a9f78045786dbbad346204d3957194af04988e4 /.local/bin/open | |
parent | a2860b969e97e47a2b1c0ddb7161adb5b35c06f3 (diff) |
Updates
Diffstat (limited to '.local/bin/open')
-rwxr-xr-x | .local/bin/open | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/open b/.local/bin/open index 5b38cb7..5936451 100755 --- a/.local/bin/open +++ b/.local/bin/open @@ -26,7 +26,7 @@ for file in "$@"; do inode/directory) ${FILES:-lf} "$file" ; exit ;; text/html*) ${BROWSER:-w3m} "$file" ;; *pdf|*djvu|*epub+zip|*oxps|*fictionbook) setsid -f zathura "$file" 2>/dev/null ;; - text/*|*json|*zip|*zstd) "${EDITOR:-nvim}" "$file" ;; + text/*|*json|*zip|*zstd|*javascript) "${EDITOR:-nvim}" "$file" ;; application/vnd.openxmlformats-officedocument.*) setsid -f libreoffice "$file" ;; application/sc) sc-im "$file" ;; application/x-executable) "$file" ;; |