Browse Source

shrc: add dict command

pull/1/head
10sr 10 years ago
parent
commit
171996418a
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      shrc

+ 6
- 0
shrc View File

@@ -525,6 +525,12 @@ mkpatch(){
fi fi
} }


__sdcv_less(){
command sdcv -n "$@" | less --quit-if-one-screen
}

command -v sdcv >/dev/null && alias dict=__sdcv_less

g(){ g(){
if test $# -eq 0 && null type git-info if test $# -eq 0 && null type git-info
then then


Loading…
Cancel
Save