From 153edbf30f3889a871cda78f0c97c5dca3432b13 Mon Sep 17 00:00:00 2001 From: Dmytro Meleshko Date: Wed, 2 Jan 2019 01:38:15 +0200 Subject: [PATCH] move welcome script to zshrc --- install.sh | 2 +- zlogin | 5 ----- zshrc | 2 ++ 3 files changed, 3 insertions(+), 6 deletions(-) delete mode 100644 zlogin diff --git a/install.sh b/install.sh index 6780614..7113248 100755 --- a/install.sh +++ b/install.sh @@ -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 diff --git a/zlogin b/zlogin deleted file mode 100644 index 78c703f..0000000 --- a/zlogin +++ /dev/null @@ -1,5 +0,0 @@ -#!/usr/bin/env zsh - -DOTFILES_PATH="${0:h}" - -python "$DOTFILES_PATH/welcome/main.py" diff --git a/zshrc b/zshrc index 62d6874..7ef0d10 100755 --- a/zshrc +++ b/zshrc @@ -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"