mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-29 18:51:15 -03:00
config_paths: remove a comment
I'm not sure if setting PROGRAM_NAME based on argv[0] is a good idea.
This commit is contained in:
1
src/env/config_paths.rs
vendored
1
src/env/config_paths.rs
vendored
@@ -95,7 +95,6 @@ fn new(argv0: &Path, exec_path: PathBuf) -> Self {
|
||||
config,
|
||||
format!("exec_path: {:?}, argv[0]: {:?}", exec_path, &argv0)
|
||||
);
|
||||
// TODO: we should determine program_name from argv0 somewhere in this file
|
||||
|
||||
// If we're in Cargo's target directory or CMake's build directory, use the source files.
|
||||
if exec_path.starts_with(env!("FISH_BUILD_DIR")) {
|
||||
|
||||
Reference in New Issue
Block a user