Skip to content

Commit 7984043

Browse files
committed
Add necessary flags when opening directory with xfce4-terminal
1 parent fe01776 commit 7984043

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

editor/filesystem_dock.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2213,6 +2213,8 @@ void FileSystemDock::_file_option(int p_option, const Vector<String> &p_selected
22132213
terminal_emulator_args.push_back("--working-directory");
22142214
} else if (chosen_terminal_emulator.ends_with("urxvt")) {
22152215
terminal_emulator_args.push_back("-cd");
2216+
} else if (chosen_terminal_emulator.ends_with("xfce4-terminal")) {
2217+
terminal_emulator_args.push_back("--working-directory");
22162218
}
22172219
}
22182220
#endif

0 commit comments

Comments
 (0)