Skip to content

Commit

Permalink
Finish expanding env
Browse files Browse the repository at this point in the history
  • Loading branch information
LarryLuTW committed Sep 16, 2019
1 parent 9898288 commit 7f905c5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ import (
)

func executeInput(input string) error {
input = os.ExpandEnv(input)

args := strings.Split(input, " ")

if args[0] == "cd" {
Expand Down

0 comments on commit 7f905c5

Please sign in to comment.