X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=etc%2Fzsh%2Fzshrc;h=1249bf1985dee27b383047da96149f3f671c3ad3;hb=b3f07bcd6dd537952ae71af9ca4078479f432776;hp=73f5c9adfd800dfa4127df272ded44cd0064ab87;hpb=88e22e776be0ff4d113222e0e342149184f05b83;p=grml-etc-core.git diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 73f5c9a..1249bf1 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -2882,19 +2882,6 @@ greph() { #a2# Execute \kbd{grep -i -{}-color=auto} alias GREP='grep -i --color=auto' -#f5# Watch manpages in a stretched style -man2() { PAGER='dash -c "sed G | /usr/bin/less"' command man "$@" ; } - -# usage example: 'lcheck strcpy' -#f5# Find out which libs define a symbol -lcheck() { - if [[ -n "$1" ]] ; then - nm -go /usr/lib/lib*.a 2>/dev/null | grep ":[[:xdigit:]]\{8\} . .*$1" - else - echo "Usage: lcheck " >&2 - fi -} - # Translate DE<=>EN # 'translate' looks up fot a word in a file with language-to-language # translations (field separator should be " : "). A typical wordlist looks