Merge pull request #89803 from timothyqiu/xfce4-terminal
Add necessary flags when opening directory with xfce4-terminal
This commit is contained in:
commit
3c4c79c65a
@ -2250,6 +2250,8 @@ void FileSystemDock::_file_option(int p_option, const Vector<String> &p_selected
|
||||
terminal_emulator_args.push_back("--working-directory");
|
||||
} else if (chosen_terminal_emulator.ends_with("urxvt")) {
|
||||
terminal_emulator_args.push_back("-cd");
|
||||
} else if (chosen_terminal_emulator.ends_with("xfce4-terminal")) {
|
||||
terminal_emulator_args.push_back("--working-directory");
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user