aboutsummaryrefslogtreecommitdiffstats
path: root/zsh/.config
diff options
context:
space:
mode:
authorSimen A. W. Olsen <hello@simenandre.no>2024-12-27 20:46:38 +0100
committerSimen A. W. Olsen <hello@simenandre.no>2024-12-27 20:46:38 +0100
commit6b675aea66b80a23e3f3c40b0904d576577781a5 (patch)
tree324fb7e52e35fd1054f7c057bf03d00eb33cce3b /zsh/.config
parent58d6aefd2b81023f020c0a9997b9dd448508d59a (diff)
downloaddotfiles-6b675aea66b80a23e3f3c40b0904d576577781a5.tar.gz
dotfiles-6b675aea66b80a23e3f3c40b0904d576577781a5.zip
fix zsh
Diffstat (limited to 'zsh/.config')
-rwxr-xr-xzsh/.config/zsh/.zshrc17
1 files changed, 17 insertions, 0 deletions
diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc
new file mode 100755
index 0000000..e9594d7
--- /dev/null
+++ b/zsh/.config/zsh/.zshrc
@@ -0,0 +1,17 @@
+#!/bin/bash
+# ^----- get shellcheck hints based on bash
+# https://github.com/koalaman/shellcheck/issues/809
+# shellcheck disable=SC1090 # sourced filenames with variables
+
+# 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
+