zsh/.aliases/general

34 lines
786 B
Bash

#-*- mode: sh; -*-
## prezto utility module overrides
alias l='ls -1a'
alias la='ll -a'
## Disable Globbing (for some things)
alias nmap="noglob nmap"
## Other Aliases
alias -g N='notify-send "Command finished"'
mcd() { mkdir -p "$1" && cd "$1"; }
alias git-yolo='git commit -am "`curl -s http://whatthecommit.com/index.txt`"'
alias backup="rdiff-backup --exclude-globbing-filelist /home/adam/Documents/backuplist.txt /home/adam/" #target
alias pc='pass -c'
## TodoTxt
alias t='todo.sh'
alias hw='t hw'
alias hwr="hw rel"
## Emacs aliases
alias e="emacsclient"
alias en="e -n"
alias et="e -t"
alias ec="e -c"
alias ecn="ec -n"
## Weechat on adm
alias aweechat='ssh adm tmux a -t weechat'
#quick alias for enabling bluetooth
alias ebluetooth="sudo modprobe btusb;blueman-manager"