updated antidote config to newest

This commit is contained in:
Nikolas Weger 2024-01-25 09:51:34 +01:00
parent 1f9d47b42c
commit cdc7df962b
7 changed files with 13 additions and 22 deletions

View file

@ -1,10 +1,6 @@
shell = "zsh" shell = "zsh"
# own files # own files
[plugins.localenv]
local = "~/.local/share/zsh/config"
use = ["env.zsh"]
[plugins.compinit] [plugins.compinit]
local = "~/.config/zsh/files/" local = "~/.config/zsh/files/"
use = ["compinit.zsh"] use = ["compinit.zsh"]
@ -58,12 +54,6 @@ github = "fdellwing/zsh-bat"
[plugins.youshoulduse] [plugins.youshoulduse]
github = "MichaelAquilina/zsh-you-should-use" github = "MichaelAquilina/zsh-you-should-use"
[plugins.autosuggestions]
github = "zsh-users/zsh-autosuggestions"
[plugins.syntaxhighlighting]
github = "zsh-users/zsh-syntax-highlighting"
[plugins.asdf] [plugins.asdf]
github = "asdf-vm/asdf" github = "asdf-vm/asdf"
@ -71,6 +61,12 @@ github = "asdf-vm/asdf"
github = "olets/zsh-abbr" github = "olets/zsh-abbr"
use = ["zsh-abbr.zsh"] use = ["zsh-abbr.zsh"]
[plugins.autosuggestions]
github = "zsh-users/zsh-autosuggestions"
[plugins.syntaxhighlighting]
github = "zsh-users/zsh-syntax-highlighting"
[plugins.bashcomps] [plugins.bashcomps]
local = "~/.config/zsh/files/" local = "~/.config/zsh/files/"
use = ["bashcomps.zsh"] use = ["bashcomps.zsh"]

View file

@ -3,7 +3,7 @@
#assume_yes = true #assume_yes = true
# Disable specific steps - same options as the command line flag # 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
skip_notify = true skip_notify = true

View file

@ -19,7 +19,6 @@ Aloxaf/fzf-tab
urbainvaes/fzf-marks urbainvaes/fzf-marks
mroth/evalcache mroth/evalcache
zpm-zsh/colorize zpm-zsh/colorize
zpm-zsh/ssh
sobolevn/wakatime-zsh-plugin sobolevn/wakatime-zsh-plugin
amyreese/zsh-titles amyreese/zsh-titles
laggardkernel/zsh-thefuck laggardkernel/zsh-thefuck

View file

@ -7,7 +7,7 @@ path+=("$XDG_DATA_HOME"/JetBrains/Toolbox/scripts) # jetbrains toolbox
path+=("$HOME"/.local/bin) # local bin path+=("$HOME"/.local/bin) # local bin
# startup banner # 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]" eval "$potentialBanner[$RANDOM%$#potentialBanner+1]"
# disable flowcontrol # disable flowcontrol

View file

@ -0,0 +1,5 @@
#!/bin/bash
tmpFile="$(mktemp -u)"
curl -so "$tmpFile" https://ohmyposh.dev/install.sh
bash "$tmpFile" -d "$HOME"/.local/bin

View file

@ -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
}