1
0
Fork 0
dotfiles/.local/bin/opener

12 lines
223 B
Text
Raw Normal View History

2024-02-01 00:33:30 +01:00
#!/bin/sh
set -f
if [ "$2" ]; then
for f in "$@"; do
# shellcheck disable=2086
2024-02-01 10:50:28 +01:00
rifle -c "$XDG_CONFIG_HOME/lf/rifle.conf" -p 0 $f
2024-02-01 00:33:30 +01:00
done
else
rifle -c "$XDG_CONFIG_HOME/lf/rifle.conf" -p 0 "$1"
fi