summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Strapp <matt@mattstrapp.net>2025-11-10 08:14:41 -0600
committerMatt Strapp <matt@mattstrapp.net>2025-11-10 08:14:41 -0600
commit64bfc7f4f9208853bfdc3345861c12584d82e435 (patch)
treee1d595ec29ebf1f32f94d63cb2cbacd1510a7508
parentonly run gem if it actually exists (diff)
downloaddotfiles-64bfc7f4f9208853bfdc3345861c12584d82e435.tar
dotfiles-64bfc7f4f9208853bfdc3345861c12584d82e435.tar.gz
dotfiles-64bfc7f4f9208853bfdc3345861c12584d82e435.tar.bz2
dotfiles-64bfc7f4f9208853bfdc3345861c12584d82e435.tar.lz
dotfiles-64bfc7f4f9208853bfdc3345861c12584d82e435.tar.xz
dotfiles-64bfc7f4f9208853bfdc3345861c12584d82e435.tar.zst
dotfiles-64bfc7f4f9208853bfdc3345861c12584d82e435.zip
Remove obsolete Zsh configuration and add EditorConfig for consistent coding styleHEADmaster
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
-rw-r--r--.editorconfig12
-rw-r--r--dot_config/zsh/dot_zshopts (renamed from dot_config/zsh/executable_dot_zshopts)3
-rw-r--r--dot_local/bin/executable_update5
3 files changed, 15 insertions, 5 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..ebe51d3
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,12 @@
+# EditorConfig is awesome: https://EditorConfig.org
+
+# top-most EditorConfig file
+root = true
+
+[*]
+indent_style = space
+indent_size = 2
+end_of_line = lf
+charset = utf-8
+trim_trailing_whitespace = false
+insert_final_newline = false \ No newline at end of file
diff --git a/dot_config/zsh/executable_dot_zshopts b/dot_config/zsh/dot_zshopts
index cc26e74..d8db626 100644
--- a/dot_config/zsh/executable_dot_zshopts
+++ b/dot_config/zsh/dot_zshopts
@@ -1,8 +1,5 @@
#! /usr/bin/env zsh
-# If you don't plan on reverting to bash, you can remove the link in ~/.profile
-# to clean up.
-
# create hist directory if it doesn't exist
if [ -z "$XDG_STATE_HOME/zsh" ]; then
mkdir -p "$XDG_STATE_HOME/zsh"
diff --git a/dot_local/bin/executable_update b/dot_local/bin/executable_update
index 1c36665..20b7260 100644
--- a/dot_local/bin/executable_update
+++ b/dot_local/bin/executable_update
@@ -21,7 +21,8 @@ fi
UPDATED=0
-set -- "$ID" "$ID_LIKE"
+# shellcheck disable=SC2086
+set -- $ID $ID_LIKE
for i in "$@"; do
case "$i" in
# YUNO use ID_LIKE, chimera :(
@@ -61,7 +62,7 @@ for i in "$@"; do
sudo emerge -av --depclean || return 1
UPDATED=1
;;
- opensuse)
+ suse)
sudo zypper refresh || return 1
sudo zypper update || return 1
sudo zypper clean -a || return 1