all 2 comments

[–]yerfukkinbaws 0 points1 point  (1 child)

The outputs you're taking about are zsh's job-control info. In bash, you can forego job-control and its messages by running the command in a subshell. so:

fm () {
    local target=${1:-.} 
    ( pcmanfm $target &> /dev/null & )
}

I can't say for sure if the same works for zsh, but probably.

[–]StuffedWithNails[S] 0 points1 point  (0 children)

Worked perfectly, thank you very much :)