blob: 4ba700aaa1164c41863c329b60e15d90bbc44699 (
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
26
|
post_install() {
echo "==> pls-cli-git has been installed."
echo " To complete the setup, you must manually source the integration script."
echo
echo " 1. Add the following line to your shell's config file:"
echo " --------------------------------------------------------"
echo " # For Fish (~/.config/fish/config.fish):"
echo " source /usr/share/pls/integrations/fish.fish"
echo
echo " # For Bash (~/.bashrc):"
echo " source /usr/share/pls/integrations/bash.sh"
echo
echo " # For Zsh (~/.zshrc):"
echo " source /usr/share/pls/integrations/zsh.sh"
echo " --------------------------------------------------------"
echo
echo " 2. (Optional) Copy the default config to your home directory:"
echo " mkdir -p ~/.config/pls"
echo " cp /usr/share/doc/pls-cli-git/config.json.example ~/.config/pls/config.json"
echo
echo "==> Restart your shell for the changes to take effect."
}
post_upgrade() {
post_install
}
|