dotfiles/zsh/env.zsh

18 lines
288 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
2019-07-20 21:09:32 +00:00
export USER="${USER:-$USERNAME}"
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-08-27 13:18:23 +00:00
export CLICOLOR=1
READNULLCMD=cat
2019-09-11 15:08:00 +00:00
if [[ -z "$LS_COLORS" ]] && command_exists dircolors; then
eval "$(dircolors --bourne-shell)"
fi