diff --git a/.profile b/.profile new file mode 100644 index 00000000..57911749 --- /dev/null +++ b/.profile @@ -0,0 +1,3 @@ +export PYENV_ROOT="$HOME/.pyenv" +export PATH="$PYENV_ROOT/bin:$PATH" +eval "$(pyenv init --path)" diff --git a/.zprofile b/.zprofile new file mode 100644 index 00000000..57911749 --- /dev/null +++ b/.zprofile @@ -0,0 +1,3 @@ +export PYENV_ROOT="$HOME/.pyenv" +export PATH="$PYENV_ROOT/bin:$PATH" +eval "$(pyenv init --path)" diff --git a/Makefile b/Makefile index 00075999..b9b775bc 100644 --- a/Makefile +++ b/Makefile @@ -24,11 +24,15 @@ clean: for link in $(CONFIG_TARGETS); do rm "$$link"; done for link in $(FONT_TARGETS); do rm "$$link"; done for link in $(ZSH_TARGETS); do rm "$$link"; done + rm $(HOME)/.profile + rm $(HOME)/.zprofile + rm $(HOME)/.zshrc + rm $(HOME)/.p10k.zsh rm $(HOME)/.ssh/config rm -rf $(PACKER_DIR) rm -rf $(POWERLEVEL_DIR) -zsh: $(HOME)/.zshrc $(ZSH_DIR) $(ZSH_CUSTOM_DIR) $(POWERLEVEL_DIR) $(HOME)/.p10k.zsh $(ZSH_TARGETS) +zsh: $(HOME)/.profile $(HOME)/.zprofile $(HOME)/.zshrc $(ZSH_DIR) $(ZSH_CUSTOM_DIR) $(POWERLEVEL_DIR) $(HOME)/.p10k.zsh $(ZSH_TARGETS) ssh: $(HOME)/.ssh/config $(HOME)/.ssh/sockets $(HOME)/.ssh/config.d @@ -37,10 +41,12 @@ nvim: $(PACKER_DIR) $(CONFIG_TARGETS): $(CONFIG_DIR)/%: config/% $(FONT_TARGETS): $(FONT_DIR)/%: nerdfont_symbols/% $(ZSH_TARGETS): $(ZSH_CUSTOM_DIR)/%.zsh: ohmyzsh/%.zsh +$(HOME)/.profile: .profile +$(HOME)/.zprofile: .zprofile $(HOME)/.zshrc: zshrc $(HOME)/.p10k.zsh: p10k.zsh $(HOME)/.ssh/config: $(HOME)/.ssh/%: ssh-% -$(CONFIG_TARGETS) $(FONT_TARGETS) $(ZSH_TARGETS) $(HOME)/.zshrc $(HOME)/.p10k.zsh $(HOME)/.ssh/config: +$(CONFIG_TARGETS) $(FONT_TARGETS) $(ZSH_TARGETS) $(HOME)/.profile $(HOME)/.zprofile $(HOME)/.zshrc $(HOME)/.p10k.zsh $(HOME)/.ssh/config: ln -s $(PWD)/$? $@ $(PACKER_DIR):