aboutsummaryrefslogtreecommitdiffstats
path: root/zsh/.zshrc
diff options
context:
space:
mode:
authorSimen A. W. Olsen <hello@simenandre.no>2024-12-27 20:30:23 +0100
committerSimen A. W. Olsen <hello@simenandre.no>2024-12-27 20:30:23 +0100
commit58d6aefd2b81023f020c0a9997b9dd448508d59a (patch)
tree7cb146a113f56dc348fac5baab07aa5e4d3e794a /zsh/.zshrc
parente5acad1421f72dacad6bd386c36242d905f113a8 (diff)
downloaddotfiles-58d6aefd2b81023f020c0a9997b9dd448508d59a.tar.gz
dotfiles-58d6aefd2b81023f020c0a9997b9dd448508d59a.zip
zsh fixups
Diffstat (limited to 'zsh/.zshrc')
-rwxr-xr-xzsh/.zshrc18
1 files changed, 18 insertions, 0 deletions
diff --git a/zsh/.zshrc b/zsh/.zshrc
new file mode 100755
index 0000000..8734542
--- /dev/null
+++ b/zsh/.zshrc
@@ -0,0 +1,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
+