Skip to content

Commit 456531b

Browse files
authored
Merge pull request #247 from lets-cli/update-changelog-0.0.51
update changelog
2 parents 22ee56e + a90ca63 commit 456531b

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

cmd/completion.go

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
"github.com/spf13/cobra"
1414
)
1515

16-
const zshCompletionText = `#compdef _lets lets
16+
const zshCompletionText = `#compdef lets
1717
1818
LETS_EXECUTABLE=lets
1919
@@ -59,6 +59,12 @@ _lets_command_options () {
5959
_arguments -s $(${LETS_EXECUTABLE} completion --options=${cmd} --verbose)
6060
fi
6161
}
62+
63+
if ! command -v compinit >/dev/null; then
64+
autoload -U compinit && compinit
65+
fi
66+
67+
compdef _lets lets
6268
`
6369

6470
const bashCompletionText = `_lets_completion() {

docs/docs/changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ title: Changelog
55

66
## [Unreleased](https://github.com/lets-cli/lets/releases/tag/v0.0.X)
77

8+
## [0.0.51](https://github.com/lets-cli/lets/releases/tag/v0.0.51)
9+
10+
* `[Fixed]` `-E` flag now overrides env not only when env variable already declared in command's `env`, but also it overrides env variables that declared in global `env`. Also it sets env variable even if no env variable was declared either in global or command's `env`.
11+
812
## [0.0.50](https://github.com/lets-cli/lets/releases/tag/v0.0.50)
913

1014
* `[Dependency]` upgrade cobra to 1.6.0

0 commit comments

Comments
 (0)