From 08947e54727a32690dcdeeac0b5a8072f88436e2 Mon Sep 17 00:00:00 2001 From: Maarten van Gompel Date: Tue, 13 Aug 2024 18:00:49 +0200 Subject: [PATCH] added aliases for hsk and cedict lookups --- zshrc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/zshrc b/zshrc index 75105ed..d667d80 100644 --- a/zshrc +++ b/zshrc @@ -172,6 +172,12 @@ xl() { argos-translate -f "$FROM" -t "$TO" "$*" deactivate } +hsk() { + grep "$1" ~/projects/vocadata/zh/hsk*.tsv | cut -f 1-4 +} +cedict() { + grep "$1" ~/Documents/languages/chinese/cedict.txt +} export MPD_HOST="anaproy.nl" -- 2.45.2