dotfiles/zsh/env.zsh
2019-09-24 22:36:00 +03:00

19 lines
365 B
Bash

#!/usr/bin/env zsh
# find editor
export EDITOR="nvim"
export VISUAL="$EDITOR"
alias edit="$EDITOR"
alias e="$EDITOR"
export PAGER='less'
export LESS='--RAW-CONTROL-CHARS'
export CLICOLOR=1
# BSD ls colors
export LSCOLORS="Gxfxcxdxbxegedabagacad"
# GNU ls colors
if [[ -z "$LS_COLORS" ]] && command_exists dircolors; then
eval "$(dircolors --bourne-shell)"
fi