Skip to content

Commit

Permalink
Fix _sep_parts prefix: replace all '.'
Browse files Browse the repository at this point in the history
Only replaced the first '.', which is obviously wrong.
  • Loading branch information
hedning committed Nov 6, 2017
1 parent 4f404af commit a7e16c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _nix-common-options
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ _nix_attr_paths () {

local -a prefix=()
if [[ -n $attr_path ]]; then
for i in ${=attr_path/./ }; do
for i in ${=attr_path//./ }; do
prefix+=("($i)" .)
done
fi
Expand Down

0 comments on commit a7e16c8

Please sign in to comment.