Mercurial > hg > zsh-env
comparison zshrc @ 164:20ac5fedc060
remove the locale hack
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Mon, 20 Jan 2020 10:12:48 +0100 |
parents | 201c8ca43ab1 |
children | 75e3f2d8368c |
comparison
equal
deleted
inserted
replaced
163:201c8ca43ab1 | 164:20ac5fedc060 |
---|---|
25 fpath=(~/.zsh-env/completion $fpath) | 25 fpath=(~/.zsh-env/completion $fpath) |
26 autoload -U compinit | 26 autoload -U compinit |
27 | 27 |
28 # -u avoids compinit complaining when running as root (see man zshcompsys) | 28 # -u avoids compinit complaining when running as root (see man zshcompsys) |
29 compinit -u | 29 compinit -u |
30 | |
31 # setup a valid locale for displaying 24 hour time | |
32 unset LC_ALL | |
33 export LC_TIME=POSIX | |
34 | 30 |
35 # custom functions/aliases that should work on all platforms | 31 # custom functions/aliases that should work on all platforms |
36 cd() { builtin cd "$@"; print -D $PWD; } | 32 cd() { builtin cd "$@"; print -D $PWD; } |
37 ff() { find $2 -print0 | xargs -0 grep $1 } | 33 ff() { find $2 -print0 | xargs -0 grep $1 } |
38 alias gk="$HOME/.zsh-env/gk.sh" | 34 alias gk="$HOME/.zsh-env/gk.sh" |