diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim index e3de45b..7f8d8e6 100644 --- a/nvim/.config/nvim/init.vim +++ b/nvim/.config/nvim/init.vim @@ -136,7 +136,7 @@ set expandtab syntax on colorscheme onedark -" Indentation settings for specific filetypes +" Settings for specific filetypes autocmd FileType html setlocal tabstop=2 shiftwidth=2 autocmd FileType css setlocal tabstop=2 shiftwidth=2 autocmd FileType scss setlocal tabstop=2 shiftwidth=2 @@ -144,6 +144,7 @@ autocmd FileType svelte setlocal tabstop=2 shiftwidth=2 autocmd FileType vue setlocal tabstop=2 shiftwidth=2 autocmd FileType json setlocal tabstop=2 shiftwidth=2 autocmd FileType yaml setlocal tabstop=2 shiftwidth=2 +autocmd BufNewFile,BufRead zsh*,.zsh*,*.zsh set filetype=sh """ APPEARANCE diff --git a/scripts/.local/bin/update.sh b/scripts/.local/bin/update.sh index a615886..63d8ecd 100755 --- a/scripts/.local/bin/update.sh +++ b/scripts/.local/bin/update.sh @@ -21,6 +21,9 @@ command -v flatpak >/dev/null 2>&1 \ command -v npm >/dev/null 2>&1 \ && { echo; npm up -g; } || true +command -v rustup >/dev/null 2>&1 \ + && { echo; rustup update; } || true + command -v nvim >/dev/null 2>&1 \ && { echo; nvim --headless +PlugUpdate +PlugUpgrade +qa; echo; } || true @@ -31,4 +34,4 @@ command -v docker >/dev/null 2>&1 && [ "$(docker images | wc -l)" -gt 1 ] \ echo -zsh -ic "git -C $(dirname -- "$(readlink -e "$0")") pull && antidote update && fg &>/dev/null" +zsh -ic "git -C $(dirname -- "$(readlink -e "$0")") pull && echo && antidote update && fg &>/dev/null" diff --git a/zsh/.config/zsh/aliases.zsh b/zsh/.config/zsh/aliases.zsh index 6a97304..c6fafb3 100644 --- a/zsh/.config/zsh/aliases.zsh +++ b/zsh/.config/zsh/aliases.zsh @@ -52,7 +52,7 @@ if [[ $(uname -o) == "Android" ]]; then alias pkgqi="dpkg -s" alias pkgqs="dpkg -l" alias pkgsi="pkg info" - alias pkgss"pkg search" + alias pkgss="pkg search" elif [[ $(uname -o) == "GNU/Linux" ]]; then # Package management if [[ $(lsb_release -si) == "Artix" ]]; then