ソースを参照

.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 && "$@"
}


読み込み中…
キャンセル
保存