41 lines
592 B
Plaintext
41 lines
592 B
Plaintext
|
#
|
||
|
# $ZDOTDIR/.zshenv
|
||
|
#
|
||
|
|
||
|
|
||
|
if [ -d /opt/devkitpro ]; then
|
||
|
export DEVKITPRO=/opt/devkitpro
|
||
|
export DEVKITARM=$DEVKITPRO/devkitARM
|
||
|
export DEVKITPPC=$DEVKITPRO/devkitPPC
|
||
|
fi
|
||
|
|
||
|
|
||
|
|
||
|
# Copied from arch linux's default /etc/profile
|
||
|
function append_path() {
|
||
|
[ ! -d "$1" ] && return
|
||
|
case ":$PATH:" in
|
||
|
*:"$1":*)
|
||
|
;;
|
||
|
*)
|
||
|
PATH="${PATH:+$PATH:}$1"
|
||
|
esac
|
||
|
}
|
||
|
|
||
|
|
||
|
append_path "/home/cameron/.local/share/JetBrains/Toolbox/scripts"
|
||
|
|
||
|
|
||
|
export PATH
|
||
|
unset -f append_path
|
||
|
|
||
|
|
||
|
|
||
|
EDITOR="vim"
|
||
|
if command -v nvim &> /dev/null; then
|
||
|
EDITOR="nvim"
|
||
|
fi
|
||
|
|
||
|
export EDITOR
|
||
|
|