From 629a0fc15dc5451c76d9568bc59c17faad792867 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Wed, 4 Jan 2012 19:09:02 +0900 Subject: [PATCH] add alias p and c --- .bashrc | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.bashrc b/.bashrc index 501cbbd..30175b1 100755 --- a/.bashrc +++ b/.bashrc @@ -69,7 +69,7 @@ alias la="ls -A" alias lla="ls -Al" # alias less="" alias vl=/usr/share/vim/vimcurrent/macros/less.sh -alias em="emacs -nw; echo emacs terminated." +alias em="emacs -nw; echo Emacs terminated." # alias apt-get="sudo apt-get" alias aptin="apt-get install" alias aptsearch="apt-cache search" @@ -82,6 +82,8 @@ alias destroy="rm -rf" alias psall="ps auxww" alias g=git alias q=exit +alias p="$PAGER" +alias c=cat alias pcalc="python -i -c 'from math import *' " alias _myreloadrc="test -f ~/.bashrc && source ~/.bashrc" alias sudo="sudo " # use aliases through sudo @@ -191,12 +193,6 @@ setclip(){ fi fi } -p(){ - "$@" | $PAGER -} -c(){ - "$@" | cat -} o(){ if [ $# -eq 0 ] then