zsh: init config

This commit is contained in:
Jeremy Baxter 2025-04-30 10:06:07 +12:00
parent 4fa1324bb5
commit 14d688ac52
2 changed files with 13 additions and 0 deletions

12
.zshrc Normal file
View file

@ -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"

View file

@ -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