diff options
Diffstat (limited to 'include/bootstrap')
-rwxr-xr-x | include/bootstrap | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/bootstrap b/include/bootstrap index a103200..054e5cd 100755 --- a/include/bootstrap +++ b/include/bootstrap @@ -32,6 +32,7 @@ if ! [[ -e ~/.zshrc ]] { # Make basic dirctories echo 'Creating the basic directory structure' mkdir -p ~/bin +path=(~/bin $path) mkdir -p $PKG_PATH/.collected/man/man{1..8} if ! which git &> /dev/null; then @@ -50,10 +51,13 @@ echo "PKG_ROOT='$PKG_ROOT'" > ~/.pkg.conf echo "PKG_PATH=\"${PKG_PATH/$HOME/\$HOME}\"" >> ~/.pkg.conf echo 'Installing core package' +rehash bin/checklinks bin/pkg eval populate_collected core bin/pkg eval exec_hook core post-add +bin/pkg update + if (( rcempty )) { echo 'Removing empty zshrc' rm ~/.zshrc |