addet editor environment variable

This commit is contained in:
pika 2024-10-22 09:14:48 +02:00
parent 76213898bf
commit b4220d657a

13
.zshrc
View file

@ -535,13 +535,24 @@ else
echo_error "No bc, so no math will work"
fi
_environment(){
if command_exists nvim; then
export EDITOR="nvim"
fi
if command_exists ranger; then
export RANGER_LOAD_DEFAULT_RC="FALSE"
fi
}
main(){
get_packager
_init
_alias
_coding_
_environment
}
if check_root; then
main
fi
echo "$bat"
# echo "$bat"