From 43f903a3334d0bfd50e9cfa64dd5d95faa739d0d Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Sat, 26 Sep 2020 11:07:33 +0200 Subject: Add more basic config --- programs/zsh/precomp.zshrc | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 programs/zsh/precomp.zshrc (limited to 'programs/zsh/precomp.zshrc') 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 -- cgit 1.4.1