Add necessary flags when opening directory with xfce4-terminal
This commit is contained in:
parent
fe01776f05
commit
7984043768
1 changed files with 2 additions and 0 deletions
|
@ -2213,6 +2213,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 a new issue