Mercurial > hg > zsh-env
comparison zshrc @ 168:75e3f2d8368c
move the ll and lr functions into the general zshrc
author | Dirk Olmes <dirk.olmes@codedo.de> |
---|---|
date | Sat, 04 Apr 2020 03:15:18 +0200 |
parents | 20ac5fedc060 |
children | 7d3c872681cb |
comparison
equal
deleted
inserted
replaced
167:2ab4c6b83044 | 168:75e3f2d8368c |
---|---|
29 compinit -u | 29 compinit -u |
30 | 30 |
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 alias gk="$HOME/.zsh-env/gk.sh" | |
35 gve() { grep -ve '^#' $1 | uniq | less } | 34 gve() { grep -ve '^#' $1 | uniq | less } |
36 hgrep() { history | grep $* } | 35 hgrep() { history | grep $* } |
36 ll() { /usr/bin/env -u LC_ALL LANG=C ls -laFh "$@" | more } | |
37 lr() { /usr/bin/env -u LC_ALL LANG=C ls -rtlh "$@" } | |
37 mcd() { mkdir $1; cd $1 } | 38 mcd() { mkdir $1; cd $1 } |
38 psg() { ps auxww | grep -v grep | grep -i "$@" } | 39 psg() { ps auxww | grep -v grep | grep -i "$@" } |
40 | |
41 alias gk="$HOME/.zsh-env/gk.sh" | |
42 alias history="history 1" | |
43 alias ny="nano -Y none" | |
39 alias pd=pushd | 44 alias pd=pushd |
40 alias history="history 1" | |
41 alias removeKernel="$HOME/.zsh-env/removeKernel" | 45 alias removeKernel="$HOME/.zsh-env/removeKernel" |
42 alias sl='screen -ls' | 46 alias sl='screen -ls' |
43 alias sn='screen -S' | 47 alias sn='screen -S' |
44 alias sr='screen -r' | 48 alias sr='screen -r' |
45 alias suod=sudo | 49 alias suod=sudo |