about summary refs log tree commit diff
path: root/programs/zsh/precomp.zshrc
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-09-26 11:07:33 +0200
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-09-26 11:07:33 +0200
commit43f903a3334d0bfd50e9cfa64dd5d95faa739d0d (patch)
tree09b90d6f24eec6c7d1376d08028d5a81a1036fb7 /programs/zsh/precomp.zshrc
parent9bc4874f0aff1ebc58b28879ee21df44e3a01fc7 (diff)
downloaddots-43f903a3334d0bfd50e9cfa64dd5d95faa739d0d.tar.gz
dots-43f903a3334d0bfd50e9cfa64dd5d95faa739d0d.zip
Add more basic config
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