You are not logged in.

#1 2017-01-17 09:38:16

ltorvalds024
Member
Registered: 2015-12-01
Posts: 38
Website

after recent update of zsh, it won't show 'command not found error'

I am on Arch Linux using zsh as default shell. After recent update from 5.2 to 5.3.1, zsh is not showing 'command not found error'

    @archlinux ➜  ~  asdfadsf
    @archlinux ➜  ~  echo $?
    127

If I make mistake in typing (thus a wrong command) it wouldn't show error and shows empty output. 
I also use oh-my-zsh

Last edited by ltorvalds024 (2017-01-17 09:44:14)


"I am slacking because my code is compiling"

Offline

#2 2017-01-17 09:40:46

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: after recent update of zsh, it won't show 'command not found error'

Which package were you using to provide the command not found functionality? AFAIK, pkgfile provides one.

Offline

#3 2017-01-17 09:43:28

ltorvalds024
Member
Registered: 2015-12-01
Posts: 38
Website

Re: after recent update of zsh, it won't show 'command not found error'

x33a wrote:

Which package were you using to provide the command not found functionality? AFAIK, pkgfile provides one.

pkgfile

    # command not found hook of pkgfile
    source /usr/share/doc/pkgfile/command-not-found.zsh

commenting out above line seems to solve the problem

Last edited by ltorvalds024 (2017-01-17 10:19:28)


"I am slacking because my code is compiling"

Offline

Board footer

Powered by FluxBB