Reorganize zsh aliases

This commit is contained in:
Henrik Lissner 2017-10-03 19:14:49 +02:00
parent db442d7702
commit 56ac50129f
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 7 additions and 7 deletions

View file

@ -6,10 +6,6 @@ autoload -U zmv
zman() { PAGER="less -g -s '+/^ "$1"'" man zshall; } zman() { PAGER="less -g -s '+/^ "$1"'" man zshall; }
alias ag='noglob ag' 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() { remind() {
local time=$1; shift local time=$1; shift
sched $time "notify-send --urgency=critical 'Reminder' '$@'; ding"; sched $time "notify-send --urgency=critical 'Reminder' '$@'; ding";

View file

@ -28,9 +28,6 @@ alias wget='wget -c' # Resume dl if possible
alias pubkey='cat ~/.ssh/id_rsa.pub' alias pubkey='cat ~/.ssh/id_rsa.pub'
alias yd='youtube-dl'
alias ydm='youtube-dl --extract-audio --audio-format aac'
# Always enable colored `grep` output # Always enable colored `grep` output
# Note: `GREP_OPTIONS="--color=auto"` is deprecated, hence the alias usage. # Note: `GREP_OPTIONS="--color=auto"` is deprecated, hence the alias usage.
alias grep='grep --color=auto' alias grep='grep --color=auto'
@ -44,6 +41,13 @@ alias exe='exercism'
# .gitattributes | map dirname # .gitattributes | map dirname
alias map="xargs -n1" alias map="xargs -n1"
alias ydl='youtube-dl'
alias ydl-aac='youtube-dl --extract-audio --audio-format aac'
alias ydl-m4a='youtube-dl --extract-audio --audio-format m4a'
alias ddg='duckduckgo'
alias bt='transmission-remote'
take() { mkdir "$1" && cd "$1"; } take() { mkdir "$1" && cd "$1"; }
hex() { echo -n $@ | xxd -psdu; } hex() { echo -n $@ | xxd -psdu; }