diff --git a/src/usr/shell.rs b/src/usr/shell.rs index fb294ed7..132c3c28 100644 --- a/src/usr/shell.rs +++ b/src/usr/shell.rs @@ -29,7 +29,7 @@ fn shell_completer(line: &str) -> Vec { let args = split_args(line); let i = args.len() - 1; - if args.len() == 1 { // Autocomplete command + if args.len() == 1 && !args[0].starts_with("/") { // Autocomplete command for &cmd in &AUTOCOMPLETE_COMMANDS { if let Some(entry) = cmd.strip_prefix(args[i]) { entries.push(entry.into());