Skip to content

Commit

Permalink
Merge pull request #9 from MrLYC/develop
Browse files Browse the repository at this point in the history
support for ash
  • Loading branch information
MrLYC authored Mar 14, 2022
2 parents 42b11f1 + 9b4efa6 commit 87fee0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ CMDR is a simple command version management tool that helps you quickly switch f
## Get Started
To install a new command, run the following command:
```shell
% cmdr command install -n <command-name> -v <version> -l <path_or_url>
% cmdr command install -n <command-name> -v <version> -l <path-or-url>
```

Then you can list the installed commands by running the following command:
Expand Down
2 changes: 1 addition & 1 deletion core/initializer/profile.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ func getProfilePathByShell(path string) (string, error) {
}

switch shell {
case "bash":
case "bash", "ash":
return filepath.Join(homeDir, ".bashrc"), nil
case "zsh":
return filepath.Join(homeDir, ".zshrc"), nil
Expand Down

0 comments on commit 87fee0c

Please sign in to comment.