aboutsummaryrefslogtreecommitdiff
path: root/repo/zsh-ssr-theme/zsh-ssr-theme.install
diff options
context:
space:
mode:
authorKunoiSayami <[email protected]>2021-11-20 23:46:44 +0800
committerKunoiSayami <[email protected]>2021-11-20 23:46:44 +0800
commit6e841289082baefb17bc198d8f1a0b055b8239bd (patch)
tree0ccd921ec8018c68745d8389d915285098e70bd8 /repo/zsh-ssr-theme/zsh-ssr-theme.install
parent6b57801ca3eabd9c2d7862d789d5b8dca35b3e21 (diff)
feat(add-pkg): Add zsh-ssr-theme
Signed-off-by: KunoiSayami <[email protected]>
Diffstat (limited to 'repo/zsh-ssr-theme/zsh-ssr-theme.install')
-rw-r--r--repo/zsh-ssr-theme/zsh-ssr-theme.install18
1 files changed, 18 insertions, 0 deletions
diff --git a/repo/zsh-ssr-theme/zsh-ssr-theme.install b/repo/zsh-ssr-theme/zsh-ssr-theme.install
new file mode 100644
index 0000000..3e1c210
--- /dev/null
+++ b/repo/zsh-ssr-theme/zsh-ssr-theme.install
@@ -0,0 +1,18 @@
+# From: https://aur.archlinux.org/cgit/aur.git/tree/google-chrome.install?h=google-chrome
+# Colored makepkg-like functions
+msg_blue() {
+ printf "${blue}==>${bold} $1${all_off}\n"
+}
+
+note() {
+ printf "${blue}==>${yellow} NOTE:${bold} $1${all_off}\n"
+}
+
+all_off="$(tput sgr0)"
+bold="${all_off}$(tput bold)"
+blue="${bold}$(tput setaf 4)"
+yellow="${bold}$(tput setaf 3)"
+
+post_install() {
+ note "Run \`echo \"[ -r /etc/zsh/ssr/ssr-zshrc.zsh ] && source /etc/zsh/ssr/ssr-zshrc.zsh\" > ~/.zshrc\` to joy it"
+}