From 64149d1083af9c175dba49a79e357a8ab9d4e3e4 Mon Sep 17 00:00:00 2001 From: Marcel Robitaille Date: Mon, 10 Oct 2022 09:50:44 -0300 Subject: [PATCH] [zsh] Rename ZSH files to `.zsh` Ensures the correct filetype is detected by vim --- zsh/.zshrc | 2 +- zsh/custom/{aliases.sh => aliases.zsh} | 0 zsh/custom/{directories.sh => directories.zsh} | 0 zsh/custom/{exports.sh => exports.zsh} | 0 zsh/custom/{functions.sh => functions.zsh} | 0 5 files changed, 1 insertion(+), 1 deletion(-) rename zsh/custom/{aliases.sh => aliases.zsh} (100%) rename zsh/custom/{directories.sh => directories.zsh} (100%) rename zsh/custom/{exports.sh => exports.zsh} (100%) rename zsh/custom/{functions.sh => functions.zsh} (100%) diff --git a/zsh/.zshrc b/zsh/.zshrc index a67811a..7fe40e4 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -18,7 +18,7 @@ plugins=(pass) source "$ZSH/oh-my-zsh.sh" source "$HOME/.zsh/async/async.zsh" -for file in $ZSH/custom/{exports,aliases,functions,directories,secret}.sh $ZSH/custom/completions.zsh $ZSH/custom/plugins/*; do +for file in $ZSH/custom/{exports,aliases,functions,directories,completions,secret}.zsh $ZSH/custom/plugins/*; do [ -r "$file" ] && [ -f "$file" ] && source "$file" done diff --git a/zsh/custom/aliases.sh b/zsh/custom/aliases.zsh similarity index 100% rename from zsh/custom/aliases.sh rename to zsh/custom/aliases.zsh diff --git a/zsh/custom/directories.sh b/zsh/custom/directories.zsh similarity index 100% rename from zsh/custom/directories.sh rename to zsh/custom/directories.zsh diff --git a/zsh/custom/exports.sh b/zsh/custom/exports.zsh similarity index 100% rename from zsh/custom/exports.sh rename to zsh/custom/exports.zsh diff --git a/zsh/custom/functions.sh b/zsh/custom/functions.zsh similarity index 100% rename from zsh/custom/functions.sh rename to zsh/custom/functions.zsh