dotfiles/shell/.config/shell/profile

18 lines
472 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/sh
# Load the shell dotfiles, and then some:
# * ~/.path can be used to extend `$PATH`.
# * ~/.extra can be used for other settings you dont want to commit.
for file in ~/.config/shell/{path,exports,aliases,functions,extra}; do
[ -r "$file" ] && [ -f "$file" ] && source "$file";
done;
unset file;
source ~/.config/zsh/rc
# Setup pyenv, if it is installed:
if [ -x "$(command -v pyenv)" ]; then
eval "$(pyenv init --path)"
eval "$(pyenv init -)"
fi