helm/shell/+zsh/aliases.zsh
2017-10-03 19:14:28 +02:00

22 lines
479 B
Bash

load shell/aliases.sh
#
autoload -U zmv
zman() { PAGER="less -g -s '+/^ "$1"'" man zshall; }
alias ag='noglob ag'
alias ddg='duckduckgo'
alias bt='transmission-remote'
alias ydl='youtube-dl'
alias ydls='youtube-dl --extract-audio --audio-format m4a'
remind() {
local time=$1; shift
sched $time "notify-send --urgency=critical 'Reminder' '$@'; ding";
}
alias r='remind'
# Canonical hex dump; some systems have this symlinked
is-callable hd || alias hd="hexdump -C"