From 6e841289082baefb17bc198d8f1a0b055b8239bd Mon Sep 17 00:00:00 2001 From: KunoiSayami Date: Sat, 20 Nov 2021 23:46:44 +0800 Subject: feat(add-pkg): Add zsh-ssr-theme Signed-off-by: KunoiSayami --- repo/zsh-ssr-theme/zsh-ssr-theme.install | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 repo/zsh-ssr-theme/zsh-ssr-theme.install (limited to 'repo/zsh-ssr-theme/zsh-ssr-theme.install') 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" +} -- cgit v1.3.1