Skip to content

Commit

Permalink
fixed an env completion issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mitnk committed Oct 4, 2019
1 parent 0704747 commit e8b33bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
# Change Logs

## 0.9.9 - master
## 0.9.9 - 2019-10-04

- Improved error messages for running scripts.
- Fixed issue that `ls ~` does not work.
- Fixed filename expansion issue for `2*`.
- Updated math arithmetic recognize rule.
- In scripting, test head's status should not be catched.
- Fixed a completion issue like `echo $USER /App<TAB>`.

## 0.9.8 - 2019-06-20

Expand Down
2 changes: 1 addition & 1 deletion src/completers/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ fn for_make(line: &str) -> bool {
}

fn for_env(line: &str) -> bool {
libs::re::re_contains(line, r" *\$[_a-zA-Z0-9]*")
libs::re::re_contains(line, r" *\$[_a-zA-Z0-9]*$")
}

fn for_ssh(line: &str) -> bool {
Expand Down

0 comments on commit e8b33bb

Please sign in to comment.