Not really - the script was built up from small ideas so the end is something thatâs really complicated.
But many of the steps are really very simple. Some require advanced knowledge (i.e. simple for devs, not for most users).
It takes people years to just be able to see a zsh script and understand whatâs on there - my brain melts when itâs faced with REGEX.
For the first year, the only thing I really grasped were the âaliasâ commands. I also copied and pasted a few things, with functions I understand - but which I couldnât read or understand myselfâŚ
Example 1:
# Make and Enter directory
mkcd(){ mkdir "$1" && cd "$1" ; }
I wouldnât have been able to write it myself⌠Whatâs the point of the silly brackets? Who cares? It works!
#-------- Global Alias {{{
globalias() {
if [[ $LBUFFER =~ '[a-zA-Z0-9]+$' ]]; then
zle _expand_alias
zle expand-word
fi
zle self-insert
}
Also above my pay grade - but then thatâs not important.
Also, about changing your icon on a p10k prompt - how hard is it to open the p10k file (which is named, strangely, .p10k.zsh
) and then finding the word âICONâ
# Custom icon.
typeset -g POWERLEVEL9K_OS_ICON_CONTENT_EXPANSION='â'
There, now Manjaro icon is gone and we have a star instead.
I found that easy - but then (despite my small brain) Iâve had enough experience to fumble around and find quite a few things. For new users, itâs sometimes too much - so like I said. BABY STEPS.
People use Windows for years and years and never really understand it. Whatâs the big deal? Manjaro has it laid out - you can find it all even if you canât understand it.
As a project, I suggest you develop a CPU which is easy to understand, then write an easy operating system with an easy language.
Forget BASIC - despite the âsimplicityâ of it, I still had some trouble getting programs to work.
Then, after 20 years working on the project, come back and explain why some things are left âcomplicatedâ. Because simplifying things often takes a great deal more work - and thatâs not usually necessary for things which are basically âunder the hoodâ.
Whatâs the need? Couldnât we simply OPEN the terminal and never go into the ZSH settings? Doesnât it JUST WORK???
It works because of the configuration - you donât need to do anything with the configuration if itâs too complicated - just use it. However, the fact that you made a sentence asking why âmanjaro zsh setting is so complicatedâ implies that thereâs something wrong with this.
Now your question will get WORSE when you decide to try FISH terminal, because to include even MORE functionality and magic abilities, itâs obviously not going to be any simpler.