feat(zshrc): set default text editor

This commit is contained in:
2026-02-09 18:02:24 +00:00
parent 8474908d14
commit 2af53f29a6
2 changed files with 6 additions and 7 deletions

12
.zshrc
View File

@@ -1,7 +1,6 @@
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc. # Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
# Initialization code that may require console input (password prompts, [y/n] # Initialization code that may require console input (password prompts, [y/n]
# confirmations, etc.) must go above this block; everything else may go below. # confirmations, etc.) must go above this block; everything else may go below.
neofetch neofetch
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
@@ -15,14 +14,13 @@ export QT_QPA_PLATFORMTHEME=qt6ct # for Qt6
alias dotfiles="git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME" alias dotfiles="git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME"
source ~/powerlevel10k/powerlevel10k.zsh-theme source ~/powerlevel10k/powerlevel10k.zsh-theme
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
# Created by `pipx` on 2026-01-15 16:32:17 # Path updates
export PATH="$PATH:/home/dylan/.local/bin" export PATH="$PATH:/home/dylan/.local/bin"
# opencode
export PATH=/home/dylan/.opencode/bin:$PATH export PATH=/home/dylan/.opencode/bin:$PATH
# Env Variables
export EDITOR=nvim
export VISUAL=nvim

View File

@@ -6,6 +6,7 @@
- adw-gtk-theme - adw-gtk-theme
- zsh-syntax-highlighting - zsh-syntax-highlighting
- mako (Notifications) - mako (Notifications)
- nvim (Text Editor)
## System Reqs ## System Reqs
- wpctl (Audio config) - wpctl (Audio config)