Score:1

Magic Enter in BASH like ZSH

ng flag

How can I set magic enter in bash like zsh in oh-my-zsh? I have tried:

bind '"\C-m":"ls\n"'

But this makes bash unusable

cn flag
What is "magic enter"?
Rashedul Rafi avatar
ng flag
its a ohmyzsh plugin. When magic enter is enabled, you can automate commands by typing enter.Like: if i set "ls" as magic-enter command, i dont have to type "ls" every time . What i need to do is just pressing enter...
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.