summarylogtreecommitdiffstats
path: root/sodalite.install
blob: 610601d0f212778f3a1286b518dba4ec0f3082d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# arg 1:  the new package version
post_install() {
    bold=$(tput bold)
    normal=$(tput sgr0)
    echo "
    ===> ${bold}Sodalite wants to be part of your shell ${normal}(supported: bash, zsh, fish)

    ${bold}bash, zsh:

        ${normal}Add following line to your .bashrc/.zshrc:
            source /usr/share/sodalite/shell-integration.sh

    ${bold}fish:

        ${normal}Add this to your config.fish. In case the function fish_user_key_bindings already exists, add its content to the function.
            source /usr/share/sodalite/shell-integration.fish
            function fish_user_key_bindings
                bind \cf sodalite-widget
            end
    "
}