From 8e4366ce132c011b12b427615f6063bb60b0ff7d Mon Sep 17 00:00:00 2001 From: Dylan De Faoite Date: Mon, 17 Nov 2025 22:53:39 +0000 Subject: [PATCH] Add bashrc --- .zshrc | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .zshrc diff --git a/.zshrc b/.zshrc new file mode 100644 index 0000000..779c8c6 --- /dev/null +++ b/.zshrc @@ -0,0 +1,22 @@ +# 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. + +neofetch + +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 + +# Environment for apps +export QT_QPA_PLATFORMTHEME=qt5ct # for Qt5 +export QT_QPA_PLATFORMTHEME=qt6ct # for Qt6 + +alias dotfiles="git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME" + +source ~/powerlevel10k/powerlevel10k.zsh-theme + +# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. +[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh + +source /home/dylan/.zsh-syntax-highlighting/zsh-syntax-highlighting.zsh