From 41cec2dfa6d24aa62533a30dbc39ab26a0164e50 Mon Sep 17 00:00:00 2001 From: eeleater Date: Sun, 29 Sep 2024 20:36:15 +0200 Subject: [PATCH] updated zellij scripts --- dot_config/zsh/dot_zshrc.tmpl | 1 + dot_local/bin/executable_installOhMyPosh | 0 dot_local/bin/executable_updateOhMyPosh | 0 dot_local/bin/executable_zellijList | 2 +- 4 files changed, 2 insertions(+), 1 deletion(-) mode change 100755 => 100644 dot_local/bin/executable_installOhMyPosh mode change 100755 => 100644 dot_local/bin/executable_updateOhMyPosh diff --git a/dot_config/zsh/dot_zshrc.tmpl b/dot_config/zsh/dot_zshrc.tmpl index 80ca7f6..9c129b9 100644 --- a/dot_config/zsh/dot_zshrc.tmpl +++ b/dot_config/zsh/dot_zshrc.tmpl @@ -32,6 +32,7 @@ antidote load smartcache eval zoxide init --cmd cd zsh smartcache eval atuin init zsh smartcache eval direnv hook zsh +smartcache eval mise activate zsh # source files source "$ZDOTDIR"/files/aliases.zsh diff --git a/dot_local/bin/executable_installOhMyPosh b/dot_local/bin/executable_installOhMyPosh old mode 100755 new mode 100644 diff --git a/dot_local/bin/executable_updateOhMyPosh b/dot_local/bin/executable_updateOhMyPosh old mode 100755 new mode 100644 diff --git a/dot_local/bin/executable_zellijList b/dot_local/bin/executable_zellijList index 5608f72..cc16b0f 100644 --- a/dot_local/bin/executable_zellijList +++ b/dot_local/bin/executable_zellijList @@ -4,7 +4,7 @@ NO_SESSIONS=$(echo "${ZJ_SESSIONS}" | wc -l) if [ "${NO_SESSIONS}" -ge 2 ]; then zellij attach \ - "$(echo "${ZJ_SESSIONS}" | fzf)" + "$(echo "${ZJ_SESSIONS}" | fzf | cut -d' ' -f1)" else zellij attach -c fi