summaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-02-08 11:42:49 -0600
committerChristian Cleberg <[email protected]>2026-02-08 11:42:49 -0600
commitab794ba43632d7e966999be63bfcc832614daf04 (patch)
treedbf3cdc8b3c73326e885c3d6f7649c6200ee8383 /zsh
parent3590ac9352451da9ce873d908a94111c71c4defc (diff)
downloaddotfiles-ab794ba43632d7e966999be63bfcc832614daf04.tar.gz
dotfiles-ab794ba43632d7e966999be63bfcc832614daf04.tar.bz2
dotfiles-ab794ba43632d7e966999be63bfcc832614daf04.zip
switch to GNU Stow
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.zprofile2
-rw-r--r--zsh/.zshrc53
2 files changed, 55 insertions, 0 deletions
diff --git a/zsh/.zprofile b/zsh/.zprofile
new file mode 100644
index 0000000..37e194a
--- /dev/null
+++ b/zsh/.zprofile
@@ -0,0 +1,2 @@
+
+eval "$(/opt/homebrew/bin/brew shellenv)"
diff --git a/zsh/.zshrc b/zsh/.zshrc
new file mode 100644
index 0000000..23926eb
--- /dev/null
+++ b/zsh/.zshrc
@@ -0,0 +1,53 @@
+echo 'export PATH=/Users/cmc/.local/xonsh-env/xbin:$PATH' >> ~/.zshrc
+
+# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
+# Initialization code that may require console input (password prompts, [y/n]
+# confirmations, etc.) must go above this block; everything else may go below.
+if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
+ source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
+fi
+
+export NVM_DIR="$HOME/.nvm"
+[ -s "/opt/homebrew/opt/nvm/nvm.sh" ] && \. "/opt/homebrew/opt/nvm/nvm.sh" # This loads nvm
+[ -s "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm" ] && \. "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm" # This loads nvm bash_completion
+
+export GPG_TTY=$(tty)
+
+alias l="ls -lha"
+alias emacs="emacs -nw"
+
+# Lines configured by zsh-newuser-install
+HISTFILE=~/.histfile
+HISTSIZE=1000
+SAVEHIST=1000
+bindkey -e
+# End of lines configured by zsh-newuser-install
+# The following lines were added by compinstall
+zstyle :compinstall filename '/Users/cmc/.zshrc'
+
+autoload -Uz compinit
+compinit
+# End of lines added by compinstall
+source /opt/homebrew/share/powerlevel10k/powerlevel10k.zsh-theme
+
+# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
+[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
+
+source /opt/homebrew/share/zsh-autosuggestions/zsh-autosuggestions.zsh
+export PATH=/Users/cmc/.local/xonsh-env/xbin:$PATH
+export PATH=/Users/cmc/.local/xonsh-env/xbin:$PATH
+export PATH=/Users/cmc/.local/xonsh-env/xbin:$PATH
+export PATH=/Users/cmc/.local/xonsh-env/xbin:$PATH
+export PATH=/Users/cmc/.local/xonsh-env/xbin:$PATH
+export PATH=/Users/cmc/.local/xonsh-env/xbin:$PATH
+export PATH=/Users/cmc/.local/xonsh-env/xbin:$PATH
+export PATH=/Users/cmc/.local/xonsh-env/xbin:$PATH
+export PATH=/Users/cmc/.local/xonsh-env/xbin:$PATH
+export PATH=/Users/cmc/.local/xonsh-env/xbin:$PATH
+export PATH=/Users/cmc/.local/xonsh-env/xbin:$PATH
+export PATH=/Users/cmc/.local/xonsh-env/xbin:$PATH
+export PATH=/Users/cmc/.local/xonsh-env/xbin:$PATH
+export PATH=/Users/cmc/.local/xonsh-env/xbin:$PATH
+export PATH=/Users/cmc/.local/xonsh-env/xbin:$PATH
+export PATH=/Users/cmc/.local/xonsh-env/xbin:$PATH
+export PATH=/Users/cmc/.local/xonsh-env/xbin:$PATH