mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-01-20 23:36:31 +08:00
Mispelling - surprised it didn't care.
This commit is contained in:
parent
88cb616c1b
commit
af0f9e5308
|
@ -126,7 +126,7 @@ static struct config_paths_t determine_config_directory_paths(const char *argv0)
|
||||||
// link CF, use this lame approach to test it: see if the resolved path ends with
|
// link CF, use this lame approach to test it: see if the resolved path ends with
|
||||||
// /Contents/MacOS/fish, case insensitive since HFS+ usually is.
|
// /Contents/MacOS/fish, case insensitive since HFS+ usually is.
|
||||||
if (!done) {
|
if (!done) {
|
||||||
const char *suffix = "/Contents/Resoruces/base/bin/fish";
|
const char *suffix = "/Contents/Resources/base/bin/fish";
|
||||||
const size_t suffixlen = strlen(suffix);
|
const size_t suffixlen = strlen(suffix);
|
||||||
if (has_suffix(exec_path, suffix, true)) {
|
if (has_suffix(exec_path, suffix, true)) {
|
||||||
// Looks like we're a bundle. Cut the string at the / prefixing /Contents... and
|
// Looks like we're a bundle. Cut the string at the / prefixing /Contents... and
|
||||||
|
|
Loading…
Reference in New Issue
Block a user