This website works better with JavaScript.
Home
Explore
Help
Sign In
10sr
/
dotfiles-mirror
mirror of
https://github.com/10sr/dotfiles.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
.bashrc: add function p and c, but they dont expand alias...
pull/1/head
10sr
13 years ago
parent
9a1a4a098e
commit
abcd5f0bc6
1 changed files
with
6 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-0
.bashrc
+ 6
- 0
.bashrc
View File
@@ -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 && "$@"
}
Write
Preview
Loading…
Cancel
Save