1

[all variants] zsh will not run scripts as /bin/bash

view story
linux-howto

http://ubuntuforums.org – Been using zsh for a while now and loving it. I ran into a problem today. The following script errors out if run with zsh as my default shell: Code: #!/bin/bash v_build() {         echo "The file is $1" } export -f v_build find . -maxdepth 1 -type f | parallel v_build Output: Code: % ./test zsh:1: command not found: v_build zsh:1: command not found: v_build zsh:1: command not found: v_build zsh:1: command not found: v_build If I switch to a user who has bash as its default shell, the same script runs just fine: Code: $ ./tes (Hardware)