Remove work tools

Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
Severin Kaderli 2019-09-27 15:20:55 +02:00
parent ba2fb7c8ad
commit 4a01cdcb7c
Signed by: severinkaderli
GPG key ID: F419F8835B72F0C4
2 changed files with 3 additions and 11 deletions

View file

@ -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 #

View file

@ -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'