greduan
No mksh really? Guys gotta pick up the slack sheesh. I use ksh/mksh exclusively nowadays. Faster than bash (or dash for that matter I think), 100% POSIX compliant and nothing more. Minimalistic as fuck.
Eduan / greduan
https://greduan.com
me@greduan.com
z3bra
mksh is totally not faster than dash :) Still, it's a good shell, though vi editing mode sucks hairy balls
pranomostro
I am too lazy to look for mksh, but I might try it now.
ninjacharlie
mksh. Lighter weight than anything else, while retaining the important features of bash.

Plus, it keeps me honest when writing shell scripts (it's POSIX compliant) so I don't use any bash specific features.
cjm
mksh for all the same reasons as above :-P
I guess I should look into mksh...
henriqueleng
Using ksh, the default OpenBSD one, but write only POSIX shell scripts.
skrzyp
mksh too, but I want to give zsh a try.

But with only one rule - I don't want to use predefined zsh configs, like oh-my-zsh or some other shit like that. I want to write my zsh config from scratch. Is there anything that should I know before doing this?
Code:
AGE = $12
lda #$00
sta AGE
life:
    jsr wait_year
    inc AGE
    cmp #$64
    bne life
jsr dead
xero
long time zsh user sounding off!

(09-09-2015, 12:09 PM)skrzyp Wrote: mksh too, but I want to give zsh a try.

But with only one rule - I don't want to use predefined zsh configs, like oh-my-zsh or some other shit like that. I want to write my zsh config from scratch. Is there anything that should I know before doing this?

i agree using out of the box configs like oh-my-zsh and prezto don't help you learn anything. but looking at how they're setup sure can. users have spent a lot of time hacking together a feature, like say command syntax highlighting, you might want this feature or not. but looking at how it's achieved is a great learning exp. another important thing to note is the completion and correction engines. they have A LOT of options, and way you are prompted with suggestions (or not) and how flexible the corrections are, need to be tweaked to your liking. make sure you run and go though
Code:
zsh-newuser-install
or
Code:
autoload -Uz zsh-newuser-install; zsh-newuser-install -f
before creating a custom zshrc. since this command will edit/destroy it. my first few times, i tried a bunch of options to decide which i actually liked. this part is extremely important and often overlooked by new users.

i also suggest you have a look at other zsh setups and copy some things you like, and try out new ideas.
mine are here: http://git.io/.zsh
here's a pretty nice blog post: http://zanshin.net/2013/02/02/zsh-config...ground-up/
and here's a repo with lots of additional app completions: https://github.com/zsh-users/zsh-complet...master/src
Code:
man zshoptions
is an important read as well.

the arch + gentoo wikis have pretty awesome overviews of zshell as well:

- https://wiki.archlinux.org/index.php/Zsh
- https://wiki.gentoo.org/wiki/Zsh/Guide
Pr0Wolf29
I just use bash. Gf says "ksh" is best. Never used anything else yet.




Members  |  Stats  |  Night Mode