summaryrefslogtreecommitdiffstats
path: root/src/launchable.rs
diff options
context:
space:
mode:
authorCanop <cano.petrole@gmail.com>2021-06-10 22:35:31 +0200
committerCanop <cano.petrole@gmail.com>2021-06-10 22:35:31 +0200
commit8b7bbf146c96de074c242abfdad40d21833d8a5a (patch)
treeb3d93918cbb9b21eea3f59a45072fd9b796e0714 /src/launchable.rs
parent6ea38c86908ca169f871ed6f5971e9fa44b84e7a (diff)
`working_dir` verb attribute
It makes it possible to set the working dir of a new executable to something different than the current directory. For example working_dir: "{directory}/.git" Fix #396
Diffstat (limited to 'src/launchable.rs')
-rw-r--r--src/launchable.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/launchable.rs b/src/launchable.rs
index b26e59f..3666fa5 100644
--- a/src/launchable.rs
+++ b/src/launchable.rs
@@ -135,6 +135,7 @@ impl Launchable {
args,
mouse_capture_disabled,
} => {
+ debug!("working_dir: {:?}", &working_dir);
// we restore the normal terminal in case the executable
// is a terminal application, and we'll switch back to
// broot's alternate terminal when we're back to broot