initial commit, moving to git
This commit is contained in:
commit
19b94fc18a
38
.aliases
Normal file
38
.aliases
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
#-*- 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"
|
21
.aliases.arch
Normal file
21
.aliases.arch
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
# pacman
|
||||||
|
alias pup='apacman -Syu --noedit --purgebuild'
|
||||||
|
alias pr='sudo apacman -Rs'
|
||||||
|
alias prc='pr -c'
|
||||||
|
alias pi='apacman --purgebuild'
|
||||||
|
alias pin='pi --noedit --noconfirm'
|
||||||
|
alias pis='pi -S'
|
||||||
|
alias pins='pin -S'
|
||||||
|
piro() { #remove orphans
|
||||||
|
if [[ ! -n $(apacman -Qdt) ]]; then
|
||||||
|
echo "No orphans to remove."
|
||||||
|
else
|
||||||
|
apacman -Rns $(pacman -Qdtq)
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
compdef apacman=pacman
|
||||||
|
|
||||||
|
alias gup='updateGit.sh'
|
||||||
|
|
||||||
|
alias up='pup'
|
21
.aliases.debian
Normal file
21
.aliases.debian
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
## Various update aliases
|
||||||
|
### apt
|
||||||
|
alias ai="noglob sudo apt-get install"
|
||||||
|
alias aup="sudo apt-get update; sudo apt-get upgrade"
|
||||||
|
alias adup="sudo apt-get dist-upgrade"
|
||||||
|
alias aclean="sudo apt-get autoremove; sudo apt-get autoclean"
|
||||||
|
alias apt="noglob apt"
|
||||||
|
|
||||||
|
### mr
|
||||||
|
alias mup="mr -mj update"
|
||||||
|
alias cmup="mup 2>&1|sed -ur 's/mr update: \/(.*)/'\"$(tput bold)\1$(tput sgr0)\"'/g
|
||||||
|
/mr update: command failed/c'\"$(tput setf 4)mr update: command failed$(tput sgr0)\"'
|
||||||
|
s/\/?home\/adam/~/g
|
||||||
|
/Already up-to-date/d
|
||||||
|
/Tree is up to date/d
|
||||||
|
/Updating '\''\.'\'':/d
|
||||||
|
/At revision/d
|
||||||
|
/^$/d'"
|
||||||
|
|
||||||
|
### general
|
||||||
|
alias up="(aup;aclean;cmup) | tee /tmp/up.log"
|
1
.zprezto
Submodule
1
.zprezto
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit c98da90662a11e7ac1e046ccd6a99edd21e68312
|
1
.zpreztorc
Symbolic link
1
.zpreztorc
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
.zprezto/runcoms/zpreztorc
|
Loading…
Reference in New Issue
Block a user