You are not logged in.
Hello all,
I am using the dwm window manager and of course dmenu.
I was wondering if there is a way to make dmenu "see" the aliases
of my .bashrc file..
Or at least if I could copy-paste them in some file that dmenu
reads to generate its entries..
Do you have any idea how to do this?
Thanks a lot in advance..
Offline
I don't believe it'll ever be able to read aliases as these are built-in features of the bash program. However, it would be trivial to create bash scripts by the same name and simply include the command in the script. Drop them all in ~/bin and add that dir to your $PATH in ~/.bashrc, like so:
export PATH=$PATH:~/bin # add ~/bin to PATHthayer williams ~ thayerwilliams.ca
Offline
I agree with thayer.
Alternatively, you could look into bashrun. It's a launcher based on a very small bash command line, so you get all bash features like history, aliases, fuctions etc. But it's slower then dmenu_run
< Daenyth> and he works prolifically
4 8 15 16 23 42
Offline
Thanks for the suggestions! I will try bashrun, if I don't like it I will go with what thayer said..
Offline
Have a look at
=http://paperlined.org/apps/dmenu/HOWTO … iases.html
You can like linux without becoming a fanatic!
Offline