From 171996418ab79384c20d1c3040727a942da6c42b Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Sat, 16 Aug 2014 01:29:01 +0900 Subject: [PATCH] shrc: add dict command --- shrc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/shrc b/shrc index f53b140..8a7fdb1 100755 --- a/shrc +++ b/shrc @@ -525,6 +525,12 @@ mkpatch(){ fi } +__sdcv_less(){ + command sdcv -n "$@" | less --quit-if-one-screen +} + +command -v sdcv >/dev/null && alias dict=__sdcv_less + g(){ if test $# -eq 0 && null type git-info then