X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=etc%2Fzsh%2Fzshrc;h=6c8b87e861ebf27c6d1a5a84bcbff54603ea838a;hb=c1d89209822ed136e486b6c3c253f247e4d65ab2;hp=96509d4e51c8d3d3c907ff29afd7d0605dee3289;hpb=af1880477d99f931a695a9ea316d9ebf1ea53129;p=grml-etc-core.git diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 96509d4..6c8b87e 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -2886,16 +2886,6 @@ 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