Move debuginfod stuff to arch.zsh

This commit is contained in:
Alexander Rosenberg 2023-05-03 02:24:22 -07:00
parent 52173dbbd1
commit 8fa526e8ef
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730
2 changed files with 1 additions and 17 deletions

View File

@ -1,2 +1,3 @@
# Arch specific config options
export DEBUGINFOD_URLS="https://debuginfod.archlinux.org"
source "/usr/share/doc/pkgfile/command-not-found.zsh"

View File

@ -22,20 +22,3 @@ if [[ -o login ]]; then
exec startx
fi
fi
function define_java_alias() {
name="${1}"
eval $'function "${name}" {
if ! [[ -v JAVA_HOME ]]; then
command "${0}" "${@}"
else
"${JAVA_HOME}/bin/${0}" "${@}"
fi
}'
unset name
}
define_java_alias 'java'
define_java_alias 'javac'
define_java_alias 'jshell'
define_java_alias 'jar'
unfunction define_java_alias