summaryrefslogtreecommitdiffstats
path: root/yy
blob: 46f2a0c2713eef32d781e3f86e71f0a981ec5ed7 (plain)
1
2
3
4
5
6
#!/bin/zsh
exclude="sudo,rm,^\."
pushd "$HOME"
command=$(cat ~/.histfile | /bin/grep -i -v -E ${exclude//,/|} | ${=DMENU})
[[ ! -z $command ]] && xterm -e "${=command};read"   #|| notify-send "Cannot run $command"
popd