Slopjong
A geek discovering the World, Tech & Science
Latest Posts
Programming
Mac
Linux
WordPress
Hardware
Howtos
Nerd Trash
ZSH Archive
4
When a comment leads to a syntax error in Bash
Posted on December 4, 2012
When you are writing Bash scripts and commenting out commands which are performing arithmetic operations you must be aware that they’re still interpreted in particular cases. Let’s assume we have the [...]
Continue Reading
6
Bash: Iterate over array elements
Posted on July 11, 2012
Human beings always try to keep things ordered and group objects in a box, in a bag but also in folders on a computer system. In programming languages such a [...]
Continue Reading
3
Compatibility between Zsh and Bash
Posted on July 2, 2012
Zsh is mostly compatible with Bash. Mostly. Loop If it comes to arrays and the for loop the following script works perfectly in Bash but not in Zsh. words=("first" "second" "third") for((i=0; i [...]
Continue Reading
6
Arch Linux: failed to load module `zsh/computil’
Posted on February 21, 2012
If you’ve recently updated zsh and used tab auto-complete you’re getting the following error message. ➜ zsh cd _tags:36: failed to load module `zsh/computil': /usr/lib/zsh/4.3.15/zsh/computil.so: cannot open shared [...]
Continue Reading