aboutsummaryrefslogtreecommitdiffstats
path: root/zsh/.zshrc
diff options
context:
space:
mode:
authorSimen A. W. Olsen <hello@simenandre.no>2024-12-27 14:37:58 +0100
committerSimen A. W. Olsen <hello@simenandre.no>2024-12-27 14:38:11 +0100
commitf311c01a1b2672ab2c724674de8022e83988545e (patch)
tree6ba37deb89746ea70ea022c15b124e975e33b953 /zsh/.zshrc
parent54abce564fa2ce215df74066102f68ed8ba0164a (diff)
downloaddotfiles-f311c01a1b2672ab2c724674de8022e83988545e.tar.gz
dotfiles-f311c01a1b2672ab2c724674de8022e83988545e.zip
reorganize
Diffstat (limited to 'zsh/.zshrc')
-rw-r--r--zsh/.zshrc23
1 files changed, 23 insertions, 0 deletions
diff --git a/zsh/.zshrc b/zsh/.zshrc
new file mode 100644
index 0000000..bdc70cc
--- /dev/null
+++ b/zsh/.zshrc
@@ -0,0 +1,23 @@
+
+# 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
+
+export GOPATH=~/go
+export REPOS=~/ghq
+
+znap eval starship 'starship init zsh --print-full-init'
+znap prompt
+
+znap source marlonrichert/zsh-autocomplete
+znap source zsh-users/zsh-autosuggestions
+
+for file in ~/.{aliases.zsh,path.zsh,extras.zsh}; do
+ if [[ -r "$file" ]] && [[ -f "$file" ]]; then
+ # shellcheck source=/dev/null
+ source "$file"
+ fi
+done
+