aboutsummaryrefslogtreecommitdiffstats
path: root/zsh/.config
diff options
context:
space:
mode:
authorSimen A. W. Olsen <hello@simenandre.no>2024-12-27 20:10:52 +0100
committerSimen A. W. Olsen <hello@simenandre.no>2024-12-27 20:10:52 +0100
commite5acad1421f72dacad6bd386c36242d905f113a8 (patch)
treedba3450385f2689af80cb8ff5a5715e66a4ec921 /zsh/.config
parent240106d9782a6f35d1cc0cf6ad56126d42bf5764 (diff)
downloaddotfiles-e5acad1421f72dacad6bd386c36242d905f113a8.tar.gz
dotfiles-e5acad1421f72dacad6bd386c36242d905f113a8.zip
move .zshrc
Diffstat (limited to 'zsh/.config')
-rwxr-xr-xzsh/.config/zsh/.zshrc22
1 files changed, 22 insertions, 0 deletions
diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc
new file mode 100755
index 0000000..9ef0a9d
--- /dev/null
+++ b/zsh/.config/zsh/.zshrc
@@ -0,0 +1,22 @@
+# 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
+