1

I've recently switched to zsh mainly for its auto-completion. However, zsh has syntax for scripting different from bash, and I use a lot of ad-hoc one-liners. For example, echo 'qwe\tasd' expands the \t to tab in zsh but not in bash. I want to keep all the bash syntax while using zsh's auto-completions.

I've tried adding emulate -LR bash to my .zshrc. However, it seems to break some of my zsh tools, namely zsh-autocomplete and starship.

How can I keep my bash syntax while using zsh?

3

1 Answer 1

0

As pointed out in the comments and in emulate bash in zsh breaking dynamically assigned file descriptor, if you want Bash-like behavior in Zsh, you should actually put emulate ksh in your .zshrc file.

This site is temporarily in read-only mode and not accepting new answers.

Not the answer you're looking for? Browse other questions tagged .