diff --git a/Readme.org b/Readme.org index 07e62fa..89683bc 100644 --- a/Readme.org +++ b/Readme.org @@ -165,9 +165,8 @@ Note: this section only tracks the state of incomplete TODO items. Having everyt - Can pass args to flesh scripts (via command line) - Can pass args to flesh scripts (via interpreter) - Pipe also operates on stderr -- ~ if possible (string replacement? +- ~ if possible (string replacement?) - tab completion for symbols also attempts to complete binaries -- tab completion for symbols also attempts to complete paths - finish basic goals in the [[file:snippets/interactive-devel.f][interactive development library]] - Release CI - Make an icon if you feel like it diff --git a/src/bin/flesh.rs b/src/bin/flesh.rs index 95bfc19..4ca41be 100644 --- a/src/bin/flesh.rs +++ b/src/bin/flesh.rs @@ -106,7 +106,7 @@ impl Completer for CustomCompleter { .expect("current dir bad?"); let (tok, is_str, start) = get_token_to_complete(line, pos); let mut sugg = vec![]; - if !is_str { + if !is_str && !tok.contains('/') { let mut offcenter_match = vec![]; for sym in &self.0 { if sym.starts_with(tok.as_str()) {