aboutsummarylogtreecommitdiffstats
path: root/easy-zsh-config.install
blob: e1a4c9e5ad0a533e0473ecdd6a35c4e4d4f42d72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
info() {
    echo -e "\e[36m=================================INFO====================================\e[0m"
    echo -e "* To apply changes to current user, run:"
    echo -e "  \e[4m> cp /etc/zsh/zshrc ~/.zshrc\e[0m"
    echo -e "* If you don't need to customize your .zshrc file and you want to keep"
    echo -e "your .zshrc file to the current one, you can also run:"
    echo -e "  \e[4m> ln -s /etc/zsh/zshrc ~/.zshrc\e[0m"
    echo -e "* To configure the theme:"
    echo -e "  Edit \e[4mline 3, ~/.zshrc\e[0m, and replace default theme path with your target"
    echo -e "theme path."
    echo -e "* Key bindings info:"
    echo -e "  Up:          History substring search(backward)"
    echo -e "  Down:        History substring search(forward)"
    echo -e "  Ctrl-Up:     History beginning search(backward)"
    echo -e "  Ctrl-Down:   History beginning search(forward)"
    echo -e "  Ctrl-Left:   Skip a whole word(left)"
    echo -e "  Ctrl-Right:  Skip a whole word(right)"
    echo -e "\e[36m=========================================================================\e[0m"
}
post_install() {
    info
}
post_upgrade() {
    info
}