dotfiles/.local/bin/tools/open_at_video

8 lines
151 B
Plaintext
Raw Normal View History

2023-11-03 14:53:41 +01:00
#!/bin/sh
if echo $1 | grep -qv '^/'; then
absolute_path_file="$(pwd)/$1"
else
absolute_path_file="$1"
fi
$TERMINAL $FILE "${absolute_path_file%/*}"