Re: [dwm] .zshrc alias dmenu

From: Matthias-Christian Ott <ott_AT_enolink.de>
Date: Sat, 31 May 2008 21:03:24 +0200

Jonny Gerold <fsk141_AT_gmail.com> 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
Received on Sat May 31 2008 - 21:05:21 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:46:25 UTC