Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added p3/app/icons/zsh.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions p3/scripts/devs/ohmyz.sh
Original file line number Diff line number Diff line change
@@ -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"; }