update checks
This commit is contained in:
parent
0b9bff4d08
commit
4ac1ca7f6c
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1,3 @@
|
|||||||
*.swp
|
*.swp
|
||||||
|
|
||||||
|
pull.log
|
||||||
|
9
base/updates.zsh
Normal file
9
base/updates.zsh
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
if type git &> /dev/null; then
|
||||||
|
ticker_message "zeesh: pulling from git" # TODO: less frequently, and background
|
||||||
|
start_dir="$(pwd)"
|
||||||
|
|
||||||
|
cd ~/.local/share/zeesh
|
||||||
|
git pull &> ~/.local/share/zeesh/pull.log
|
||||||
|
|
||||||
|
cd "${start_dir}"
|
||||||
|
fi
|
@ -5,5 +5,6 @@ ticker_message "zeesh: bootstrap"
|
|||||||
PROMPT="%{$fg_bold[cyan]%}%n%{$fg_bold[white]%}@%{$fg_bold[magenta]%}%m %{$fg_bold[white]%}%~ %# %{$reset_color%}"
|
PROMPT="%{$fg_bold[cyan]%}%n%{$fg_bold[white]%}@%{$fg_bold[magenta]%}%m %{$fg_bold[white]%}%~ %# %{$reset_color%}"
|
||||||
|
|
||||||
source ~/.local/share/zeesh/base/precmd.zsh
|
source ~/.local/share/zeesh/base/precmd.zsh
|
||||||
|
source ~/.local/share/zeesh/base/updates.zsh
|
||||||
|
|
||||||
ticker_finish
|
ticker_finish
|
||||||
|
Loading…
Reference in New Issue
Block a user