Jonny Gerold <[EMAIL PROTECTED]> wrote:

> Hello,
> I have aliases in my .zshrc file and was wondering how I could use these 
> with dmenu. Like: alias rest='sudo s2ram -f -a3' I would like to be able 
> to type rest into dmenu, and it to go to sleep...

This is not possible. Try this:

$ mkdir ~/exe
$ echo 'sudo s2rm-f -a3' > ~/exe/rest
$ chmod 0755 ~/exe/rest
$ export PATH=~/exe:$PATH

> Thanks, Jonny

Regards
Matthias-Christian

Reply via email to