addet editor environment variable
This commit is contained in:
parent
76213898bf
commit
b4220d657a
1 changed files with 12 additions and 1 deletions
13
.zshrc
13
.zshrc
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue