diff --git a/install b/install index 62a4228..4fefb76 100755 --- a/install +++ b/install @@ -234,7 +234,6 @@ if ask_prompt "Do you want to install a rust toolchain?"; then rustup default beta fi - # List created using: yay -Qqem > packages.aur.list package_count=$(< "${PACKAGES_DIR}/packages.aur.list" wc -l) @@ -245,7 +244,9 @@ if ask_prompt "Do you want to install ${package_count} AUR packages?"; then fi # Remove unneeded packages -#yay -Rsu $(comm -23 <(pacman -Qq | sort) <(cat "${PACKAGES_DIR}/packages.native.list" "${PACKAGES_DIR}/packages.aur.list" | sort)) +if ask_prompt "Do you want to remove all unneeded packages?"; then + yay -Rsnu $(comm -23 <(pacman -Qqtt | sort) <(cat "${PACKAGES_DIR}/packages.native.list" "${PACKAGES_DIR}/packages.aur.list" | sort)) +fi if ask_prompt "Do you want to install ${#NPM_PACKAGES[@]} global npm packages?"; then print_log "Installing ${#NPM_PACKAGES[@]} packages" @@ -278,10 +279,6 @@ done # Prepare work tools # ############################################################################### print_section "Prepare work tools" -print_log "Installing dde" -if [ ! -d "${HOME}/dev/work/tools/dde" ]; then - git clone "https://github.com/whatwedo/dde" "${HOME}/dev/work/tools/dde" -fi ############################################################################### # Creating symlinks # diff --git a/system/.config/custom/aliases b/system/.config/custom/aliases index 7ac05d6..bf2fac3 100644 --- a/system/.config/custom/aliases +++ b/system/.config/custom/aliases @@ -43,10 +43,5 @@ fi # Alias for opening my code editor alias e='code' -# Work aliases -if [ -d "${HOME}/dev/work/tools/dde" ]; then - alias dde='make -f "${HOME}/dev/work/tools/dde/Makefile"' -fi - # Other aliases alias timestamp='date +%s' \ No newline at end of file