diff options
author | Matt Strapp <matt@mattstrapp.net> | 2024-11-02 15:46:56 -0500 |
---|---|---|
committer | Matt Strapp <matt@mattstrapp.net> | 2024-11-02 15:46:56 -0500 |
commit | e3460ae680b66911842299ae9e92ca2146db3e17 (patch) | |
tree | 5da2a49703220395939289390694e54ca431a181 /dot_config/zsh/aliasrc | |
parent | add more p10k things (diff) | |
download | dotfiles-e3460ae680b66911842299ae9e92ca2146db3e17.tar dotfiles-e3460ae680b66911842299ae9e92ca2146db3e17.tar.gz dotfiles-e3460ae680b66911842299ae9e92ca2146db3e17.tar.bz2 dotfiles-e3460ae680b66911842299ae9e92ca2146db3e17.tar.lz dotfiles-e3460ae680b66911842299ae9e92ca2146db3e17.tar.xz dotfiles-e3460ae680b66911842299ae9e92ca2146db3e17.tar.zst dotfiles-e3460ae680b66911842299ae9e92ca2146db3e17.zip |
windows stuff
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to '')
-rw-r--r-- | dot_config/zsh/aliasrc | 3 |
1 files changed, 3 insertions, 0 deletions
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" |