From 2b195f0a12f8aa69187277f38754d8630084187e Mon Sep 17 00:00:00 2001 From: surtur Date: Wed, 4 May 2022 12:15:30 +0200 Subject: [PATCH] add zsh configs --- .zshenv | 1 + .zshrc | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 .zshenv create mode 100644 .zshrc diff --git a/.zshenv b/.zshenv new file mode 100644 index 0000000..10d7b12 --- /dev/null +++ b/.zshenv @@ -0,0 +1 @@ +export PATH="$HOME/.nix-profile/bin:$PATH" diff --git a/.zshrc b/.zshrc new file mode 100644 index 0000000..94806c4 --- /dev/null +++ b/.zshrc @@ -0,0 +1,11 @@ +HISTFILE=~/.histfile +HISTSIZE=1000 +SAVEHIST=1000 + +setopt autocd extendedglob +bindkey -e + +autoload -Uz compinit +compinit + +if [ -e "$HOME/.nix-profile/etc/profile.d/nix.sh" ]; then . "$HOME/.nix-profile/etc/profile.d/nix.sh"; fi