comparison zshrc @ 187:7d3c872681cb

more braucht jetzt eine Option, damit am Ende "rausgefallen" wird
author Dirk Olmes <dirk.olmes@codedo.de>
date Tue, 14 Mar 2023 07:19:11 +0100
parents 75e3f2d8368c
children
comparison
equal deleted inserted replaced
186:0e22ae080bf1 187:7d3c872681cb
31 # custom functions/aliases that should work on all platforms 31 # custom functions/aliases that should work on all platforms
32 cd() { builtin cd "$@"; print -D $PWD; } 32 cd() { builtin cd "$@"; print -D $PWD; }
33 ff() { find $2 -print0 | xargs -0 grep $1 } 33 ff() { find $2 -print0 | xargs -0 grep $1 }
34 gve() { grep -ve '^#' $1 | uniq | less } 34 gve() { grep -ve '^#' $1 | uniq | less }
35 hgrep() { history | grep $* } 35 hgrep() { history | grep $* }
36 ll() { /usr/bin/env -u LC_ALL LANG=C ls -laFh "$@" | more } 36 ll() { /usr/bin/env -u LC_ALL LANG=C ls -laFh "$@" | more -e }
37 lr() { /usr/bin/env -u LC_ALL LANG=C ls -rtlh "$@" } 37 lr() { /usr/bin/env -u LC_ALL LANG=C ls -rtlh "$@" }
38 mcd() { mkdir $1; cd $1 } 38 mcd() { mkdir $1; cd $1 }
39 psg() { ps auxww | grep -v grep | grep -i "$@" } 39 psg() { ps auxww | grep -v grep | grep -i "$@" }
40 40
41 alias gk="$HOME/.zsh-env/gk.sh" 41 alias gk="$HOME/.zsh-env/gk.sh"