move welcome script to zshrc

This commit is contained in:
Dmytro Meleshko 2019-01-02 01:38:15 +02:00
parent ddf9b3445b
commit 153edbf30f
3 changed files with 3 additions and 6 deletions

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash
for zsh_file_name in zshrc zlogin; do
for zsh_file_name in zshrc; do
zsh_file="$HOME/.$zsh_file_name"
if [[ -f "$zsh_file" ]]; then

5
zlogin
View file

@ -1,5 +0,0 @@
#!/usr/bin/env zsh
DOTFILES_PATH="${0:h}"
python "$DOTFILES_PATH/welcome/main.py"

2
zshrc
View file

@ -9,3 +9,5 @@ done
lazy_load rbenv 'eval "$(rbenv init -)"'
lazy_load sdk 'source_if_exists "$SDKMAN_DIR/bin/sdkman-init.sh"'
python "$DOTFILES_PATH/welcome/main.py"