diff options
| -rw-r--r-- | .editorconfig | 12 | ||||
| -rw-r--r-- | dot_config/zsh/dot_zshopts (renamed from dot_config/zsh/executable_dot_zshopts) | 3 | ||||
| -rw-r--r-- | dot_local/bin/executable_update | 5 |
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 |
