1
0
Fork 0
dotfiles/.config/lf/opener

11 lines
186 B
Bash
Executable file

#!/bin/sh
set -f
if [ "$2" ]; then
for f in "$@"; do
# shellcheck disable=2086
rifle -p0 $f
done
else
rifle -c "$XDG_CONFIG_HOME/lf/rifle.conf" -p 0 "$1"
fi