#!/usr/bin/env bash cmd="$(dmenu_path | dmenu "$@")" [ $? -ne 0 ] && exit 1 config_file="${XDG_CONFIG_HOME:-"${HOME}/.config"}/dmenu/aliases" [ -f "$config_file" ] && source_cmd="source '$config_file'" exec bash <