From 7a5263479f7b29918ee696a3b7fcf3335c1bf300 Mon Sep 17 00:00:00 2001 From: Emiliano Vavassori Date: Sat, 28 Sep 2024 23:21:33 +0200 Subject: [PATCH 1/4] Aggiunta configurazioni di sintassi per file nix. --- vim/ftplugin/nix.vim | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 vim/ftplugin/nix.vim diff --git a/vim/ftplugin/nix.vim b/vim/ftplugin/nix.vim new file mode 100644 index 0000000..77c35f4 --- /dev/null +++ b/vim/ftplugin/nix.vim @@ -0,0 +1,3 @@ +" nix specific settings. +set softtabstop=2 +set shiftwidth=2 From 6667a540b12cee1c6df0f239e4b71fb996505ce4 Mon Sep 17 00:00:00 2001 From: Emiliano Vavassori Date: Sat, 28 Sep 2024 23:21:53 +0200 Subject: [PATCH 2/4] =?UTF-8?q?Cambio=20opacit=C3=A0=20per=20kitty.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kitty/kitty.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty/kitty.conf b/kitty/kitty.conf index 4c0faae..2f82e9b 100644 --- a/kitty/kitty.conf +++ b/kitty/kitty.conf @@ -1170,7 +1170,7 @@ initial_window_height 25c #: The foreground and background colors. # background_opacity 1.0 -background_opacity 0.85 +background_opacity 0.8 #: The opacity of the background. A number between zero and one, where #: one is opaque and zero is fully transparent. This will only work if From 721988c3df888ed4743387984e40a1e50e7134a9 Mon Sep 17 00:00:00 2001 From: Emiliano Vavassori Date: Sat, 28 Sep 2024 23:22:19 +0200 Subject: [PATCH 3/4] Rimozione plugin fd da oh-my-zsh. --- zsh/antibody_plugins.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/zsh/antibody_plugins.txt b/zsh/antibody_plugins.txt index d8d6a68..620c39b 100644 --- a/zsh/antibody_plugins.txt +++ b/zsh/antibody_plugins.txt @@ -1,7 +1,6 @@ ohmyzsh/ohmyzsh path:plugins/command-not-found ohmyzsh/ohmyzsh path:plugins/common-aliases ohmyzsh/ohmyzsh path:plugins/copyfile -ohmyzsh/ohmyzsh path:plugins/fd ohmyzsh/ohmyzsh path:plugins/fzf ohmyzsh/ohmyzsh path:plugins/git ohmyzsh/ohmyzsh path:plugins/pip From e5a843972a127b0d58394dcbab8644bfbecfb1b9 Mon Sep 17 00:00:00 2001 From: Emiliano Vavassori Date: Sat, 28 Sep 2024 23:22:56 +0200 Subject: [PATCH 4/4] Sostituzione di antibody con antidote. --- prepare.sh | 7 ++++--- zshrc | 6 +++--- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/prepare.sh b/prepare.sh index f15747d..0be2b0c 100644 --- a/prepare.sh +++ b/prepare.sh @@ -40,13 +40,14 @@ if [[ ! -f "$HOME/.zshrc" ]]; then if [[ -f ${DOTFILES}/zsh/antibody_plugins.txt ]]; then # Installing natively on archlinux, manjaro if grep -i archlinux /proc/version || grep -i manjaro /proc/version; then - yay -S --no-confirm antibody-bin + yay -S --no-confirm zsh-antidote else - curl -sfL git.io/antibody | sudo sh -s - -b /usr/local/bin + git clone --depth=1 https://github.com/mattmc3/antidote.git ${ZDOTDIR:-$HOME}/.antidote fi mkdir -p ~/.zsh/conf.d - antibody bundle < ${DOTFILES}/zsh/antibody_plugins.txt > ~/.zsh/conf.d/000_antibody.zsh + source /usr/share/zsh-antidote/antidote.zsh + antidote bundle < ${DOTFILES}/zsh/antibody_plugins.txt > ~/.zsh/conf.d/000_antidote.zsh fi # Copying tmux configuration file and initialize plugins. diff --git a/zshrc b/zshrc index b76067e..9cbcd10 100644 --- a/zshrc +++ b/zshrc @@ -18,9 +18,9 @@ if [[ -f ${DOTFILES}/zsh/distro.base.zsh ]]; then source ${DOTFILES}/zsh/distro.base.zsh fi -# Antigen config - if configuration file exists. -if [[ -f ${HOME}/.zsh/antigen.conf.zsh ]]; then - source ${HOME}/.zsh/antigen.conf.zsh +# Loading antidote +if [[ -f /usr/share/zsh-antidote/antidote.zsh ]]; then + source /usr/share/zsh-antidote/antidote.zsh fi # configuring fzf plugin for tmux