From e3460ae680b66911842299ae9e92ca2146db3e17 Mon Sep 17 00:00:00 2001 From: Matt Strapp Date: Sat, 2 Nov 2024 15:46:56 -0500 Subject: windows stuff Signed-off-by: Matt Strapp --- dot_config/zsh/aliasrc | 3 +++ dot_config/zsh/dot_zshrc | 2 ++ 2 files changed, 5 insertions(+) diff --git a/dot_config/zsh/aliasrc b/dot_config/zsh/aliasrc index 191bc51..4e23013 100644 --- a/dot_config/zsh/aliasrc +++ b/dot_config/zsh/aliasrc @@ -3,6 +3,9 @@ # Use neovim for vim if present. [ -x "$(command -v nvim)" ] && alias vim="nvim" vimdiff="nvim -d" +# If code-insiders exists and code does not, use code-insiders. +[ -x "$(command -v code-insiders)" ] && [ ! -x "$(command -v code)" ] && alias code="code-insiders" + # Use $XINITRC variable if file exists. [ -f "$XINITRC" ] && alias startx="startx $XINITRC" diff --git a/dot_config/zsh/dot_zshrc b/dot_config/zsh/dot_zshrc index aed91ed..b8ebcb0 100644 --- a/dot_config/zsh/dot_zshrc +++ b/dot_config/zsh/dot_zshrc @@ -108,3 +108,5 @@ case "$ID" in ;; esac +# Windows Terminal stuff +PS1="\[\033]133;D;\007\]\[\033]133;A;\007\]$PS1\[\033]133;B;\007\]" \ No newline at end of file -- cgit v1.2.3