On Fri, Jan 4, 2019, at 14:14, Caio Barros wrote:
> #!bin/sh
> surf https://duckduckgo.com

Note there is a typo in that hashbang,

> That works, but for some reason dmenu (+ dwm) doesn't accept this
> command. It only works if I type the full directory (i. e.
> ~/scripts/duck or /home/caio/scripts/duck). I can confirm that the
> directory ~/scripts is on PATH. Any ideas of what can I do?

Did you restart dwm? If you're launching dmenu from dwm then it gets the
environment from its parent. If you just added the PATH to the shell
startup script then that's not automatically added to all new
processes.

Just reboot your system if you're unsure.

Reply via email to