Reformat file
This commit is contained in:
parent
846c679353
commit
2236d7fec8
1 changed files with 238 additions and 238 deletions
10
pass-pick
10
pass-pick
|
@ -101,7 +101,7 @@ get_config() {
|
|||
|
||||
# return the first config file with a valid path
|
||||
for config in "${locations[@]}"; do
|
||||
if [[ -n "$config" && -f "$config" ]]; then
|
||||
if [[ -n $config && -f $config ]]; then
|
||||
# see if the config has been given a value
|
||||
local val
|
||||
val="$(_parse_config "$config" "$1")"
|
||||
|
@ -285,8 +285,8 @@ entrymenu() {
|
|||
|
||||
local field
|
||||
field=$(
|
||||
printf "password: %s\n%s" "$pass" "$(list_fields "$entry")" |
|
||||
_picker \
|
||||
printf "password: %s\n%s" "$pass" "$(list_fields "$entry")" \
|
||||
| _picker \
|
||||
-kb-accept-entry "" \
|
||||
-kb-custom-1 "$k_entrymenu_fill" \
|
||||
-kb-custom-2 "$k_entrymenu_clip" \
|
||||
|
@ -363,8 +363,8 @@ main() {
|
|||
open_coffin
|
||||
|
||||
entry="$(
|
||||
list_passwords |
|
||||
_picker -kb-accept-entry "" \
|
||||
list_passwords \
|
||||
| _picker -kb-accept-entry "" \
|
||||
-kb-custom-1 "$k_autofill" \
|
||||
-kb-custom-2 "$k_clip_user" \
|
||||
-kb-custom-3 "$k_clip_pass" \
|
||||
|
|
Loading…
Reference in a new issue