lf: fix unquoted expansions
This commit is contained in:
parent
241b1400b8
commit
2ade28c32e
1 changed files with 4 additions and 4 deletions
|
@ -22,8 +22,8 @@ cmd pushedit %{{
|
|||
}}
|
||||
|
||||
cmd open-with ${{
|
||||
method=$(rifle -c $XDG_CONFIG_HOME/lf/rifle.conf -l $fx | fzf --header="Choose an application:" | cut -d':' -f1)
|
||||
rifle -c $XDG_CONFIG_HOME/lf/rifle.conf -p $method $fx
|
||||
method=$(rifle -c "$XDG_CONFIG_HOME/lf/rifle.conf" -l $fx | fzf --header="Choose an application:" | cut -d':' -f1)
|
||||
rifle -c "$XDG_CONFIG_HOME/lf/rifle.conf" -p "$method" $fx
|
||||
}}
|
||||
|
||||
cmd trash &{{
|
||||
|
@ -135,8 +135,8 @@ cmd fzf ${{
|
|||
cut -d "$delimiter" -f "$path_field" |
|
||||
tr -d '\n'
|
||||
)"
|
||||
[ -d "$file" ] && lf -remote "send $id cd $file"
|
||||
[ -f "$file" ] && lf -remote "send $id select $file"
|
||||
[ -d "$file" ] && lf -remote "send $id cd '$file'"
|
||||
[ -f "$file" ] && lf -remote "send $id select '$file'"
|
||||
return 0
|
||||
}}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue