Compare commits

..

No commits in common. "e112a35393cf2ce56ba27ba30e425e7568ca51af" and "d60099c22a71dfc54f4eccf00721fb20a96f56ca" have entirely different histories.

3 changed files with 7 additions and 27 deletions

View File

@ -1,16 +0,0 @@
FROM pritunl/archlinux
RUN pacman -Sy --noconfirm sudo zsh \
&& useradd -m -s /bin/zsh test \
&& groupadd sudo \
&& usermod -aG sudo test \
&& echo "%sudo ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
USER test
COPY . /src
RUN cd /src/packages && ./packages.sh \
&& cd .. && ./install.sh \
&& cd ~ && sudo rm -r /src

View File

@ -54,10 +54,12 @@ if [ $ZSH_POWERLINE -gt 0 ]; then
POWERLINE_DIR="$(pip3 show powerline-status --isolated | grep '^Location:' | awk '{print $2}')"
log "Powerline repository root: $POWERLINE_DIR"
log "Disabling current prompt theme..."
prompt off
log "Preparing zstyle..."
autoload -Uz promptinit
promptinit
prompt off
log "Loading powerline zsh plugin..."
source "$POWERLINE_DIR/powerline/bindings/zsh/powerline.zsh"

View File

@ -1,4 +1,4 @@
#!/bin/sh -e
#!/bin/sh
. ./os.sh
@ -26,10 +26,6 @@ pip3_install() {
pip3 install --user -U "$@"
}
download() {
curl -L "$@"
}
###
# Actual package installation code from here
@ -45,8 +41,7 @@ if has_tags pm:pacman; then
tar \
gzip \
xz \
jq \
git
jq
# yay
if ! has_tags pm:yay; then
@ -58,7 +53,7 @@ if has_tags pm:pacman; then
(
dir="$(mktemp -d)"
cd "${dir}"
download https://aur.archlinux.org/cgit/aur.git/snapshot/yay.tar.gz | tar -xz --strip=1
wget https://aur.archlinux.org/cgit/aur.git/snapshot/yay.tar.gz -O- | tar -xz --strip=1
makepkg -sri --noconfirm
cd
rm -rf "${dir}"
@ -104,8 +99,7 @@ if has_tags pm:apt; then
python3-pip \
zsh \
zsh-syntax-highlighting \
jq \
git
jq
if has_tags desktop; then
apt_install ibus
fi