summaryrefslogtreecommitdiff
path: root/Userland/Shell
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2023-04-12 11:18:17 +0200
committerTim Flynn <trflynn89@pm.me>2023-04-12 07:06:54 -0400
commit8370377832193bf0486aeae4fe33937a328794bb (patch)
tree6ece48406878d32aba532175708635b566eaac05 /Userland/Shell
parente78db6417ab5df80b10d155b146fae43e047e905 (diff)
downloadserenity-8370377832193bf0486aeae4fe33937a328794bb.zip
Shell: Add `map_fixed` to the pledges for command autocompletion
Diffstat (limited to 'Userland/Shell')
-rw-r--r--Userland/Shell/Shell.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Shell/Shell.cpp b/Userland/Shell/Shell.cpp
index 42a02cd58d..638889564f 100644
--- a/Userland/Shell/Shell.cpp
+++ b/Userland/Shell/Shell.cpp
@@ -1901,7 +1901,7 @@ ErrorOr<Vector<Line::CompletionSuggestion>> Shell::complete_via_program_itself(s
// Restrict the process to effectively readonly access to the FS.
auto scoped_promise = promise({
- .exec_promises = "stdio rpath prot_exec no_error",
+ .exec_promises = "stdio rpath prot_exec map_fixed no_error",
.unveils = {
{ "/", "rx" },
},