From 14d688ac52622c40fcc312879e85b3109c992066 Mon Sep 17 00:00:00 2001 From: Jeremy Baxter Date: Wed, 30 Apr 2025 10:06:07 +1200 Subject: [PATCH] zsh: init config --- .zshrc | 12 ++++++++++++ sync.sh | 1 + 2 files changed, 13 insertions(+) create mode 100644 .zshrc diff --git a/.zshrc b/.zshrc new file mode 100644 index 0000000..c2dcd22 --- /dev/null +++ b/.zshrc @@ -0,0 +1,12 @@ +unsetopt PROMPT_SP + +PATH="$HOME/.local/bin:$PATH" +PS1="%B%F{blue}%n%b %f%~ %# " +PS2='+ ' +HISTFILE="$HOME"/.zsh-history +HISTSIZE=1000000 +SAVEHIST=1000000 + +export EDITOR="emacsclient -c" + +alias np="nix profile" diff --git a/sync.sh b/sync.sh index 7af4aae..faff1a7 100755 --- a/sync.sh +++ b/sync.sh @@ -9,6 +9,7 @@ cp "$HOME"/.gitignore . cp "$HOME"/.kshrc . cp "$HOME"/.mbsyncrc . cp "$HOME"/.profile . +cp "$HOME"/.zshrc . mkdir -p .emacs.d/ cp "$HOME"/.emacs.d/init.el .emacs.d/init.el