diff options
-rwxr-xr-x | include/bootstrap | 4 | ||||
-rw-r--r-- | man/1/pkg | 2 |
2 files changed, 5 insertions, 1 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 @@ -40,7 +40,7 @@ List all installed packages List all available (both installed and not installed packages -Hint: `diff <(pkg list) <(pkg list-all)` will show all packages +Hint: C<diff <(pkg list) <(pkg list-all)> will show all packages that are currently not installed =item B<local-update> |