mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-12 14:51:16 -03:00
Revert "Show how fish was executed, using argv[0] for program_name"
This reverts commit 1cb8b2a87b.
argv[0] has the full path in it for a user when he executes it
out of $PATH. This is really annoying in the title which uses $_.
This commit is contained in:
@@ -383,7 +383,7 @@ static bool parse_flags(int argc, char **argv, bool *continuous_mode) {
|
||||
}
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
program_name = argv[0];
|
||||
program_name = L"fish_key_reader";
|
||||
bool continuous_mode = false;
|
||||
|
||||
if (!parse_flags(argc, argv, &continuous_mode)) return 1;
|
||||
|
||||
Reference in New Issue
Block a user