Skip to content

Commit 68229f2

Browse files
authored
Merge pull request #775 from xfoxfu/master
regard linux default shell
2 parents 4461939 + 9392a46 commit 68229f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/limactl/shell.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ func shellAction(cmd *cobra.Command, args []string) error {
108108
}
109109
logrus.Debugf("changeDirCmd=%q", changeDirCmd)
110110

111-
script := fmt.Sprintf("%s ; exec bash --login", changeDirCmd)
111+
script := fmt.Sprintf("%s ; exec $SHELL --login", changeDirCmd)
112112
if len(args) > 1 {
113113
script += fmt.Sprintf(
114114
" -c %s",

0 commit comments

Comments
 (0)