diff --git a/_nix b/_nix index 8be7a66..6773028 100644 --- a/_nix +++ b/_nix @@ -29,7 +29,7 @@ function _nix_attr_paths () { fi # attr1.attr3 -> ("attr1" "attr2") - local -a paths=(${attr_path/./ }) + local -a paths=(${attr_path//./ }) paths=(${paths[*]/%/\"}) paths=(${paths[*]/#/\"})