You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fasd (e.g. running z Documents) fails on my OS X machine with the following error:
-bash: cd: ,002 /Users/foo/Documents/Projects/FooBarDocuments: No such file or directory
1,16226 /Users/foo/Documents/Projects/Foo Dir
2,09207 /Users/foo/Documents/Projects/..
3,645 /Users/foo/Documents/Projects/foo_framework/02_Requirements
23,2452 /Users/foo/Documents/Projects/barDocuments/01_Documentation
28,9264 /Users/foo/Documents/Projects
42,8244 /Users/foo/Documents/Projects/foo_framework
368,002 /Users/foo/Documents/Projects/FooBarDocuments
I think this is due to my account using a German locale, where the comma is used as the decimal separator.
I've seen in the fasd.plugin.bash file that AWK is used for doing the calculations, and it looks like AWK is using the comma in this case. If I execute the following command, I end up with a result of 1,5:
awk "BEGIN{ print 3/2 }"
The code in fasd uses this to populate the "database", but while parsing, it looks for a point (.) as the decimal separator and thus fails.
fasd (e.g. running
z Documents
) fails on my OS X machine with the following error:I think this is due to my account using a German locale, where the comma is used as the decimal separator.
I've seen in the
fasd.plugin.bash
file that AWK is used for doing the calculations, and it looks like AWK is using the comma in this case. If I execute the following command, I end up with a result of1,5
:The code in fasd uses this to populate the "database", but while parsing, it looks for a point (.) as the decimal separator and thus fails.
@erichs Is that something you can look into?
Let me know if you need more info.
The text was updated successfully, but these errors were encountered: