From: PHO Date: Fri, 3 Oct 2014 03:48:09 +0000 (+0900) Subject: Auto commit by The Sugar System. X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=490cedf3a91a5dd5b8409563bd56493c893ce43d;p=sugar.git Auto commit by The Sugar System. --- diff --git a/dot-files/_zshrc b/dot-files/_zshrc index 50e0f91..13e764d 100644 --- a/dot-files/_zshrc +++ b/dot-files/_zshrc @@ -127,6 +127,10 @@ function print_directory_info() { fi } +function nfgrep() { + fgrep --with-filename --line-number --context=1 --colour=always "$@" | $PAGER +} + function ppgrep() { local -a percol_opts @@ -194,15 +198,15 @@ alias p='pushd' alias o='popd' alias d='dirs' alias df='df -h' -alias ed='ed -p "ed> "' alias du='du -k' -alias nc='nc -vv' +alias ed='ed -p "ed> "' +alias man="LANG=C man" alias mwget="wget --user-agent='Mozilla/1.4b'" +alias nc='nc -vv' +alias pkgsrc="pushd /usr/pkgsrc" alias pstow="pushd /usr/local/stow" alias w3m="w3m -O UTF-8" alias w3mb="w3m -O UTF-8 -B" -alias pkgsrc="pushd /usr/pkgsrc" -alias man="LANG=C man" alias aria-emacs="ssh -f -X admin@aria.cielonegro.org emacsclient -c" alias pho-dev-boinc="ssh -f -X pho@pho.dev.office.ymir.co.jp env LANG=C /home/pho/var/BOINC/run_manager"