Re: [dev] dmenu: patch for including bash aliases

2013-12-26 Thread Samee Zahur
Sorry for the duplicate email: apparently gmail formatted my previous email as HTML and it didn't actually go through to dev@suckless --- Original email --- Hello Robert, I'm glad you found the patch helpful. About the way it is being displayed on your dmenu, I think sed might be configured diff

[dev] dmenu: patch for including bash aliases

2013-06-09 Thread Samee Zahur
Thought this would be useful for bash alias lovers with lots of shortcuts in their ~/.bashrc or ~/.bash_aliases (path defined in the $aliases variable below). Cheers! --Samee -#!/bin/sh +#!/bin/bash cachedir=${XDG_CACHE_HOME:-"$HOME/.cache"} if [ -d "$cachedir" ]; then cache=$cachedir/dmenu