New answers tagged

0 votes

What ZSH theme does Kali use?

I think the Bali theme is pretty similiar, check this out: https://github.com/ohmyzsh/ohmyzsh/wiki/Themes#bira
0 votes

How can I/Should I default flags when running a command?

Aliases that use the same name are almost the entire point of aliases. An alias definition provides a string value that shall replace a command name when it is encountered alias grep='grep --ignore-...
  • 484
3 votes
Accepted

How can I/Should I default flags when running a command?

I am really surprised by that other post you mentioned, as it can be very misleading. Just because an alias doesn't use parameters doesn't mean that aliases cannot set parameters. Of course you can ...
  • 464
1 vote
Accepted

correct way of writing functions in zsh

function-name() command is one of several function definition syntaxes supported by zsh, the one from the Bourne shell from the early 80s, so that part of your code is fine. If you get a parse error ...

Top 50 recent answers are included