diff 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
line wrap: on
line diff
--- a/zshrc	Sat Mar 28 02:34:26 2020 +0100
+++ b/zshrc	Sat Apr 04 03:15:18 2020 +0200
@@ -31,13 +31,17 @@
 # custom functions/aliases that should work on all platforms
 cd() { builtin cd "$@"; print -D $PWD; }
 ff() { find $2 -print0 | xargs -0 grep $1 }
-alias gk="$HOME/.zsh-env/gk.sh"
 gve() { grep -ve '^#' $1 | uniq | less }
 hgrep() { history | grep $* }
+ll() { /usr/bin/env -u LC_ALL LANG=C ls -laFh "$@" | more }
+lr() { /usr/bin/env -u LC_ALL LANG=C ls -rtlh "$@" }
 mcd() { mkdir $1; cd $1 }
 psg() { ps auxww | grep -v grep | grep -i "$@" }
+
+alias gk="$HOME/.zsh-env/gk.sh"
+alias history="history 1"
+alias ny="nano -Y none"
 alias pd=pushd
-alias history="history 1"
 alias removeKernel="$HOME/.zsh-env/removeKernel"
 alias sl='screen -ls'
 alias sn='screen -S'