Skip to content

Instantly share code, notes, and snippets.

@godmachine81
Created December 17, 2011 10:02
Show Gist options
  • Save godmachine81/1489846 to your computer and use it in GitHub Desktop.
Save godmachine81/1489846 to your computer and use it in GitHub Desktop.
#!/bin/bash
alias ls='ls --color=auto '
alias grep='grep --color=auto'
alias emerge='sudo emerge'
alias gitlog="cd /usr/portage;git log; cd -"
alias pastebin='gist'
chatgrep () { grep -iR "$1" ~/.xchat2/xchatlogs/*$2*; }
chatgrep-funtoo () { grep -iR "$1" ~/.xchat2/xchatlogs/FreeNode-#funtoo.log; }
chatgrep-gentoo () { grep -iR "$1" ~/.xchat2/xchatlogs/FreeNode-#gentoo.log; }
chatgrep-gentoo-chat () { grep -iR "$1" ~/.xchat2/xchatlogs/FreeNode-#gentoo-chat.log; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment