39 lines
932 B
Bash
39 lines
932 B
Bash
#-*- mode: sh; -*-
|
|
|
|
## fasd
|
|
alias j='fasd_cd -d'
|
|
alias jj='fasd_cd -d -i'
|
|
alias js='fasd_cd -d -i'
|
|
alias fe='f -e "emacsclient"'
|
|
alias fet='f -e "emacsclient -t"'
|
|
alias fec='f -e "emacsclient -c"'
|
|
alias fecn='f -e "emacsclient -c -n"'
|
|
|
|
## 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"
|