diff --git a/.zshrc b/.zshrc index b6ced36..0ecb416 100644 --- a/.zshrc +++ b/.zshrc @@ -21,7 +21,7 @@ source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zs source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh source /usr/share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=8' -source $HOME/.cargo/env +#source $HOME/.cargo/env # ALIASES alias gpg_hardware='export GNUPGHOME=$HOME/.gnupg/trezor' @@ -38,5 +38,5 @@ export GPG_TTY="$(tty)" # Bat Theme export BAT_THEME="base16" -eval "$(pyenv init -)" +#eval "$(pyenv init -)" diff --git a/post_install.sh b/post_install.sh index d2ff084..61abfd1 100644 --- a/post_install.sh +++ b/post_install.sh @@ -1,17 +1,10 @@ -# do networking stuff -sudo systemctl enable dhcpcd -sudo systemctl start dhcpcd -interface=$(find /sys/class/net -mindepth 1 -maxdepth 1 -lname '*virtual*' -prune -o -printf '%f\n'| head -1) -#sudo systemctl enable dhcpcd@$interface.service -#sudo systemctl start dhcpcd@$interface.service -sleep 3 - # install yay git clone https://aur.archlinux.org/yay.git (cd yay && makepkg -sic) rm -rf yay # update conky config with correct interface +interface=$(find /sys/class/net -mindepth 1 -maxdepth 1 -lname '*virtual*' -prune -o -printf '%f\n'| head -1) sed -i "s/wlp9s0/$interface/g" ~/.config/conky/Zavijava/Zavijava.conf # install papirus folders @@ -19,9 +12,11 @@ wget -qO- https://git.io/papirus-folders-install | sh papirus-folders -C nordic --theme Papirus # install aur packages -yay -S --noconfirm --answerdiff=None neovim-plug zsh-theme-powerlevel10k-git +yay -S --noconfirm --answerdiff=None neovim-plug # install zsh and omz #chsh -s $(which zsh) sh -c "$(wget https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)" +mv .zshrc.pre-oh-my-zsh .zshrc +git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k source ~/.zshrc