소스 검색

.bashrc: add function p and c, but they dont expand alias...

pull/1/head
10sr 12 년 전
부모
커밋
abcd5f0bc6
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. +6
    -0
      .bashrc

+ 6
- 0
.bashrc 파일 보기

@@ -40,6 +40,12 @@ alias xunp="file-roller -h"
alias pacome="sudo \paco -D"
# type trash >/dev/null 2>&1 && alias rm=trash

p(){
"$@" | $PAGER
}
c(){
"$@" | cat
}
safe-cmd(){
type $1 >/dev/null 2>&1 && "$@"
}


불러오는 중...
취소
저장