From cdc7df962b7bb0e9533fd9e4ebf8afb53c992083 Mon Sep 17 00:00:00 2001 From: Nikolas Weger Date: Thu, 25 Jan 2024 09:51:34 +0100 Subject: [PATCH] updated antidote config to newest --- dot_config/sheldon/plugins.toml | 16 ++++++---------- dot_config/topgrade.toml | 2 +- dot_config/zsh/dot_zsh_plugins.txt | 1 - dot_config/zsh/dot_zshrc | 2 +- dot_local/bin/executable_installOhMyPosh | 5 +++++ dot_local/bin/executable_installOhMyPosh.sh | 9 --------- ...dateOhMyPosh.sh => executable_updateOhMyPosh} | 0 7 files changed, 13 insertions(+), 22 deletions(-) create mode 100755 dot_local/bin/executable_installOhMyPosh delete mode 100755 dot_local/bin/executable_installOhMyPosh.sh rename dot_local/bin/{executable_updateOhMyPosh.sh => executable_updateOhMyPosh} (100%) diff --git a/dot_config/sheldon/plugins.toml b/dot_config/sheldon/plugins.toml index 3e175c7..79a578d 100644 --- a/dot_config/sheldon/plugins.toml +++ b/dot_config/sheldon/plugins.toml @@ -1,10 +1,6 @@ shell = "zsh" # own files -[plugins.localenv] -local = "~/.local/share/zsh/config" -use = ["env.zsh"] - [plugins.compinit] local = "~/.config/zsh/files/" use = ["compinit.zsh"] @@ -58,12 +54,6 @@ github = "fdellwing/zsh-bat" [plugins.youshoulduse] github = "MichaelAquilina/zsh-you-should-use" -[plugins.autosuggestions] -github = "zsh-users/zsh-autosuggestions" - -[plugins.syntaxhighlighting] -github = "zsh-users/zsh-syntax-highlighting" - [plugins.asdf] github = "asdf-vm/asdf" @@ -71,6 +61,12 @@ github = "asdf-vm/asdf" github = "olets/zsh-abbr" use = ["zsh-abbr.zsh"] +[plugins.autosuggestions] +github = "zsh-users/zsh-autosuggestions" + +[plugins.syntaxhighlighting] +github = "zsh-users/zsh-syntax-highlighting" + [plugins.bashcomps] local = "~/.config/zsh/files/" use = ["bashcomps.zsh"] diff --git a/dot_config/topgrade.toml b/dot_config/topgrade.toml index 6dd93ee..4922282 100644 --- a/dot_config/topgrade.toml +++ b/dot_config/topgrade.toml @@ -3,7 +3,7 @@ #assume_yes = true # Disable specific steps - same options as the command line flag -disable = ["firmware", "tldr", "pip3", "node", "vim", "git_repos", "containers", "asdf", "distrobox", "helix", "composer", "yarn", "cargo", "remotes", "flatpak", "shell", "rustup", "dotnet", "vscode", "powershell", "snap"] +disable = ["tldr", "pip3", "node", "vim", "git_repos", "containers", "asdf", "distrobox", "helix", "composer", "yarn", "cargo", "remotes", "rustup", "vscode", "powershell", "dotnet", "flatpak", "shell", "snap", "firmware"] # Skip Notify skip_notify = true diff --git a/dot_config/zsh/dot_zsh_plugins.txt b/dot_config/zsh/dot_zsh_plugins.txt index 6b96e3c..4388382 100644 --- a/dot_config/zsh/dot_zsh_plugins.txt +++ b/dot_config/zsh/dot_zsh_plugins.txt @@ -19,7 +19,6 @@ Aloxaf/fzf-tab urbainvaes/fzf-marks mroth/evalcache zpm-zsh/colorize -zpm-zsh/ssh sobolevn/wakatime-zsh-plugin amyreese/zsh-titles laggardkernel/zsh-thefuck diff --git a/dot_config/zsh/dot_zshrc b/dot_config/zsh/dot_zshrc index bc25929..495fc5c 100644 --- a/dot_config/zsh/dot_zshrc +++ b/dot_config/zsh/dot_zshrc @@ -7,7 +7,7 @@ path+=("$XDG_DATA_HOME"/JetBrains/Toolbox/scripts) # jetbrains toolbox path+=("$HOME"/.local/bin) # local bin # startup banner -potentialBanner=('joke bofh' 'joke dad' 'joke hq dijkstra' 'joke hq knuth' 'joke hq perlis' 'joke hq torvalds' 'joke hq misc' 'colorscript random' 'fastfetch') +potentialBanner=('joke bofh' 'joke dad' 'joke hq dijkstra' 'joke hq knuth' 'joke hq perlis' 'joke hq misc' 'colorscript random' 'fastfetch') eval "$potentialBanner[$RANDOM%$#potentialBanner+1]" # disable flowcontrol diff --git a/dot_local/bin/executable_installOhMyPosh b/dot_local/bin/executable_installOhMyPosh new file mode 100755 index 0000000..cb76c09 --- /dev/null +++ b/dot_local/bin/executable_installOhMyPosh @@ -0,0 +1,5 @@ +#!/bin/bash +tmpFile="$(mktemp -u)" + +curl -so "$tmpFile" https://ohmyposh.dev/install.sh +bash "$tmpFile" -d "$HOME"/.local/bin diff --git a/dot_local/bin/executable_installOhMyPosh.sh b/dot_local/bin/executable_installOhMyPosh.sh deleted file mode 100755 index 42548c8..0000000 --- a/dot_local/bin/executable_installOhMyPosh.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash -newestVersion="$(curl -sL https://api.github.com/repos/JanDeDobbeleer/oh-my-posh/releases/latest | jq -r '.name' | cut -dv -f2)" -localVersion="$(oh-my-posh --version)" -tmpFile="$(mktemp -u)" - -test "$newestVersion" != "$localVersion" && { - curl -so "$tmpFile" https://ohmyposh.dev/install.sh - bash "$tmpFile" -d "$HOME"/.local/bin -} diff --git a/dot_local/bin/executable_updateOhMyPosh.sh b/dot_local/bin/executable_updateOhMyPosh similarity index 100% rename from dot_local/bin/executable_updateOhMyPosh.sh rename to dot_local/bin/executable_updateOhMyPosh