about summary refs log tree commit diff
path: root/programs/zsh/precomp.zshrc
diff options
context:
space:
mode:
Diffstat (limited to 'programs/zsh/precomp.zshrc')
-rw-r--r--programs/zsh/precomp.zshrc8
1 files changed, 8 insertions, 0 deletions
diff --git a/programs/zsh/precomp.zshrc b/programs/zsh/precomp.zshrc
new file mode 100644
index 0000000..776d218
--- /dev/null
+++ b/programs/zsh/precomp.zshrc
@@ -0,0 +1,8 @@
+. ~/.nix-profile/etc/profile.d/nix.sh
+export NIX_PATH=$HOME/.nix-defexpr/channels${NIX_PATH:+:}$NIX_PATH
+stty stop undef
+[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/shortcutrc" ] && source "${XDG_CONFIG_HOME:-$HOME/.config}/shortcutrc"
+[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/aliasrc" ] && source "${XDG_CONFIG_HOME:-$HOME/.config}/aliasrc"
+[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/zshnameddirrc" ] && source "${XDG_CONFIG_HOME:-$HOME/.config}/zshnameddirrc"
+zstyle ':completion:*' menu select
+zmodload zsh/complist