Users browsing this thread: 3 Guest(s)
xero
Long time nixers
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


Messages In This Thread
Preferred shell - by gurhush - 30-08-2012, 05:30 AM
RE: Preferred shell - by yrmt - 30-08-2012, 07:45 AM
RE: Preferred shell - by matt - 30-08-2012, 07:53 AM
RE: Preferred shell - by gholen - 30-08-2012, 07:54 AM
RE: Preferred shell - by Phyrne - 30-08-2012, 10:55 AM
RE: Preferred shell - by crshd - 30-08-2012, 01:42 PM
RE: Preferred shell - by Shiru - 30-08-2012, 04:30 PM
RE: Preferred shell - by gurhush - 30-08-2012, 06:01 PM
RE: Preferred shell - by Saos - 30-08-2012, 07:14 PM
RE: Preferred shell - by Jayro - 31-08-2012, 11:13 AM
RE: Preferred shell - by deadgone - 04-09-2012, 02:19 PM
RE: Preferred shell - by yrmt - 04-09-2012, 03:12 PM
RE: Preferred shell - by xyzodiac - 04-09-2012, 03:43 PM
RE: Preferred shell - by venam - 05-09-2012, 05:58 AM
RE: Preferred shell - by crshd - 06-09-2012, 11:00 AM
RE: Preferred shell - by yrmt - 06-09-2012, 01:19 PM
RE: Preferred shell - by Mafia - 07-09-2012, 11:32 AM
RE: Preferred shell - by CrossFold - 13-09-2012, 05:33 AM
RE: Preferred shell - by pranomostro - 01-09-2015, 06:17 AM
RE: Preferred shell - by greduan - 06-09-2015, 10:18 PM
RE: Preferred shell - by z3bra - 07-09-2015, 06:33 AM
RE: Preferred shell - by pranomostro - 07-09-2015, 02:29 PM
RE: Preferred shell - by ninjacharlie - 07-09-2015, 09:04 PM
RE: Preferred shell - by cjm - 07-09-2015, 11:18 PM
RE: Preferred shell - by October - 08-09-2015, 02:54 AM
RE: Preferred shell - by henriqueleng - 08-09-2015, 05:07 PM
RE: Preferred shell - by skrzyp - 09-09-2015, 12:09 PM
RE: Preferred shell - by xero - 09-09-2015, 12:48 PM
RE: Preferred shell - by Pr0Wolf29 - 11-09-2015, 04:03 AM
RE: Preferred shell - by b4dtR1p - 11-09-2015, 05:33 AM