diff --git a/p3/app/icons/zsh.png b/p3/app/icons/zsh.png new file mode 100644 index 00000000..fb64e6df Binary files /dev/null and b/p3/app/icons/zsh.png differ diff --git a/p3/scripts/devs/ohmyz.sh b/p3/scripts/devs/ohmyz.sh new file mode 100644 index 00000000..f244a227 --- /dev/null +++ b/p3/scripts/devs/ohmyz.sh @@ -0,0 +1,22 @@ +#!/bin/bash +# name: Oh My Zsh +# version: 1.0 +# description: Framework for managing your zsh configuration. +# icon: zsh.png + +# --- Start of the script code --- +SCRIPT_DIR="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")" +source "$SCRIPT_DIR/../../libs/helpers.lib" +source "$SCRIPT_DIR/../../libs/linuxtoys.lib" +_lang_ +source "$SCRIPT_DIR/../../libs/lang/${langfile}.lib" + +sudo_rq +_packages=(zsh curl git) +_install_ + +( + sh -c "$(curl -fsSL https://install.ohmyz.sh/) --unattended" && { + sudo chsh -s "$(type -p zsh)" "$USER"; + } +) && { zeninf "$msg018"; } || { zenwrn "Unable to complete installation"; } \ No newline at end of file