add catwhich command
This commit is contained in:
parent
5e1a387ae3
commit
35652e7383
1 changed files with 1 additions and 0 deletions
|
|
@ -5,6 +5,7 @@ function precmd() {echo -n -e "\a"}
|
|||
unsetopt share_history
|
||||
|
||||
# Everyday aliases
|
||||
catwhich() {echo "\e[35mPath: $(which $1)\n\e[39m"; cat $(which $1)}
|
||||
cless() {for a in $@; do ccat $a | less; done}
|
||||
e() {emacsclient -n $@ > /dev/null 2>&1}
|
||||
j() {if [ $# -eq 0 ]; then marks; else jump $@; fi}
|
||||
|
|
|
|||
Loading…
Reference in a new issue