aboutsummaryrefslogtreecommitdiffstats
path: root/zsh/.zshrc
blob: 8734542674c05492a4d5211b26dcccb3c872598e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash
#      ^----- get shellcheck hints based on bash
# https://github.com/koalaman/shellcheck/issues/809
# shellcheck disable=SC1090 # sourced filenames with variables
echo "Loading ~/.zshrc"

# Download Znap, if it's not there yet.
[[ -r ~/.zsh_repos/znap/znap.zsh ]] ||
    git clone --depth 1 -- \
        https://github.com/marlonrichert/zsh-snap.git ~/.zsh_repos/znap
source ~/.zsh_repos/znap/znap.zsh  # Start Znap

znap eval starship 'starship init zsh --print-full-init'
znap prompt

znap source marlonrichert/zsh-autocomplete
znap source zsh-users/zsh-autosuggestions