From afa20cec8c812bcc8ec611af14c175c560e38fc7 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Fri, 11 Nov 2011 06:59:35 -0500 Subject: Added enru command --- .zshrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.zshrc b/.zshrc index 7356fd7..103bef2 100644 --- a/.zshrc +++ b/.zshrc @@ -64,6 +64,7 @@ export BTS_SENDMAIL_COMMAND="MSMTP_PATH" export PYTHONSTARTUP=~/.pythonrc.py export PAGER=less export TEXMFHOME=/home/ryan/.texmf +export LESSCHARSET=utf-8 # Needed for cyrillic &c in less alias apt-upgrade='sudo apt-get update && sudo aptitude dist-upgrade' alias emacs='/usr/bin/emacs -nw' @@ -578,6 +579,10 @@ gbp-snap() { sbuild -d $DIST $DSC } +enru() { + dict -d mueller7accent $@ | less +} + # Pretty menu! zstyle ':completion:*' menu select=1 zstyle ':completion:*' select-prompt %SScroll active at %p%s. -- cgit v1.2.3