mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-25 20:22:38 +02:00
joshuto: Preview lock files
This commit is contained in:
parent
d0c7ad0eee
commit
3a9fe397fc
@ -29,6 +29,10 @@ realpath=$(realpath "$FILE_PATH")
|
||||
|
||||
handle_extension() {
|
||||
case "${FILE_EXTENSION_LOWER}" in
|
||||
lock)
|
||||
cat "${FILE_PATH}" && exit 0
|
||||
exit 1;;
|
||||
|
||||
rar)
|
||||
unrar lt -p- -- "${FILE_PATH}" && exit 0
|
||||
exit 1;;
|
||||
|
Loading…
x
Reference in New Issue
Block a user