move welcome script to a function

This commit is contained in:
Dmytro Meleshko 2019-03-08 20:10:30 +02:00
parent 9147a4b236
commit 1c4d4d52d5
No known key found for this signature in database
GPG key ID: 842C32A03AC953B2
2 changed files with 5 additions and 1 deletions

View file

@ -30,3 +30,7 @@ lazy_load() {
$command \$@
}"
}
welcome() {
python "$DOTFILES_PATH/welcome/main.py"
}

2
zshrc
View file

@ -11,4 +11,4 @@ if command_exists rbenv; then
eval "$(rbenv init -)"
fi
python "$DOTFILES_PATH/welcome/main.py"
welcome