We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
~
1 parent 04cbb17 commit f2d9a5cCopy full SHA for f2d9a5c
crates/nu-cli/src/completions/dotnu_completions.rs
@@ -35,9 +35,7 @@ impl Completer for DotNuCompletion {
35
let prefix_str = prefix_str.replace('`', "");
36
let mut search_dirs: Vec<PathBuf> = vec![];
37
38
- let (base, partial) = if prefix_str == "~" {
39
- ("~", "")
40
- } else if let Some((parent, remain)) = prefix_str.rsplit_once(is_separator) {
+ let (base, partial) = if let Some((parent, remain)) = prefix_str.rsplit_once(is_separator) {
41
// If prefix_str is only a word we want to search in the current dir.
42
// "/xx" should be split to "/" and "xx".
43
if parent.is_empty() {
0 commit comments