summarylogtreecommitdiffstats
path: root/foundry-cli-bin.install
blob: 6386d7e198ea327fc16536fb95174502d6d85888 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
post_install() {
  cat <<'MSG'
==> foundry-cli-bin: package-manager installs do not edit your shell config.
==> To add shell completion in zsh:
    printf '\nsource <(foundry-cli completion --code zsh)\n' >> ~/.zshrc
==> To add it in bash:
    printf '\nsource <(foundry-cli completion --code bash)\n' >> ~/.bashrc
==> Restart your shell after adding the snippet.
MSG
}

post_upgrade() {
  post_install
}