dotfiles/zsh/env.zsh

20 lines
365 B
Bash
Raw Normal View History

2018-06-15 13:43:04 +00:00
#!/usr/bin/env zsh
2018-02-23 09:38:24 +00:00
# find editor
export EDITOR="nvim"
export VISUAL="$EDITOR"
alias edit="$EDITOR"
alias e="$EDITOR"
2018-02-23 09:38:24 +00:00
2019-09-24 19:34:15 +00:00
export PAGER='less'
export LESS='--RAW-CONTROL-CHARS'
2019-08-27 13:18:23 +00:00
2019-09-24 19:34:15 +00:00
export CLICOLOR=1
2019-09-11 15:08:00 +00:00
2019-09-24 19:34:15 +00:00
# BSD ls colors
export LSCOLORS="Gxfxcxdxbxegedabagacad"
# GNU ls colors
2019-09-11 15:08:00 +00:00
if [[ -z "$LS_COLORS" ]] && command_exists dircolors; then
eval "$(dircolors --bourne-shell)"
fi