From 1cceb187ec31bbf3b850fd994ff02ef34adbf536 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20=C5=A0tefka?= Date: Fri, 13 Oct 2023 14:53:39 +0200 Subject: [PATCH] feat(filenames)!: Add .zsh to filenames to that LSPs can work BREAKING CHANGE: custom-zshrc is no longer sourced! It needs to have .zsh appended to make it work again --- .gitignore | 3 +++ aliasrc => aliasrc.zsh | 0 zshrc => zshrc.zsh | 4 ++-- 3 files changed, 5 insertions(+), 2 deletions(-) rename aliasrc => aliasrc.zsh (100%) rename zshrc => zshrc.zsh (95%) diff --git a/.gitignore b/.gitignore index ac235e3..5a376be 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,4 @@ +custom-zshrc.zsh + +# Prevent old custom settings file from being tracked custom-zshrc diff --git a/aliasrc b/aliasrc.zsh similarity index 100% rename from aliasrc rename to aliasrc.zsh diff --git a/zshrc b/zshrc.zsh similarity index 95% rename from zshrc rename to zshrc.zsh index 5813fb0..d45b117 100644 --- a/zshrc +++ b/zshrc.zsh @@ -36,7 +36,7 @@ export DOTNET_CLI_TELEMETRY_OPTOUT=1 export YSU_MESSAGE_POSITION="after" # Load aliases and shortcuts if existent. -[ -f "$HOME/zsh/aliasrc" ] && source "$HOME/zsh/aliasrc" +[ -f "$HOME/zsh/aliasrc.zsh" ] && source "$HOME/zsh/aliasrc.zsh" # Initialize `thefuck` if command -v thefuck &> /dev/null @@ -53,7 +53,7 @@ source $HOME/zsh/ssh-connect/ssh-connect.sh 2>/dev/null source $HOME/zsh/web-search/web_search.plugin.zsh 2>/dev/null source $HOME/zsh/oh-my-zsh-dirhistory/dirhistory.plugin.zsh 2>/dev/null source $HOME/zsh/zsh-z/zsh-z.plugin.zsh 2>/dev/null -source $HOME/zsh/custom-zshrc 2>/dev/null +source $HOME/zsh/custom-zshrc.zsh 2>/dev/null alias mon2cam="deno run --unstable -A -r -q https://raw.githubusercontent.com/ShayBox/Mon2Cam/master/src/mod.ts" # If on archlinus enable following plugin