Commit f230c0af authored by Elouan Martinet's avatar Elouan Martinet

shell: fix autoloading

parent 7663340c
......@@ -6,4 +6,4 @@ done
export DOTFILES="$(realpath "${BASH_SOURCE%/*}/../..")"
export DOTSHELL=bash
export DOTSHELLCMD="${BASH}"
source "${DOTFILES}/shell/common.sh"
source "${DOTFILES}/shell/autoload.sh"
if [ -n "${interactive_shell}" ]; then
autoload colors && colors
fi
......@@ -22,4 +22,5 @@ case "${DOTSHELLCMD}" in
(-*) DOTSHELLCMD="${DOTSHELLCMD:1}" ;;
(*) ;;
esac
source "${DOTFILES}/shell/common.sh"
source "${DOTFILES}/shell/autoload.sh"
source "${0:a:h}/autoload.zsh"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment