sync/zsh/misc.zsh

13 lines
273 B
Bash
Raw Permalink Normal View History

## smart urls
autoload -U url-quote-magic
zle -N self-insert url-quote-magic
## pager
export PAGER="less"
export LESS="-R"
# only define LC_CTYPE if undefined
if [[ -z "$LC_CTYPE" && -z "$LC_ALL" ]]; then
export LC_CTYPE=${LANG%%:*} # pick the first entry from LANG
fi