newest version of dotfiles

This commit is contained in:
Nikolas Weger 2023-12-19 13:29:39 +01:00
parent 9fcd3f7ef1
commit eddf9cf3e3
5 changed files with 1 additions and 25 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"]

View file

@ -39,7 +39,6 @@ export RUSTUP_HOME="$XDG_DATA_HOME"/rustup
export GNUPGHOME="$XDG_DATA_HOME"/gnupg export GNUPGHOME="$XDG_DATA_HOME"/gnupg
export W3M_DIR="$XDG_DATA_HOME"/w3m export W3M_DIR="$XDG_DATA_HOME"/w3m
export GIBO_BOILERPLATES="$XDG_DATA_HOME"/giboboilerplates export GIBO_BOILERPLATES="$XDG_DATA_HOME"/giboboilerplates
#export PATH="$XDG_DATA_HOME"/JetBrains/Toolbox/scripts:"$PATH"
# other programs # other programs
export LESSHISTFILE="$XDG_STATE_HOME"/less/history export LESSHISTFILE="$XDG_STATE_HOME"/less/history

View file

@ -18,5 +18,4 @@ for sourced in "$XDG_DATA_HOME"/zsh/files/*; do source $sourced; done
# theme # theme
potentialTheme=('atomic.omp.json' 'emodipt-extend.omp.json' 'kali.omp.json' 'lambda.omp.json' 'nordtron.omp.json') potentialTheme=('atomic.omp.json' 'emodipt-extend.omp.json' 'kali.omp.json' 'lambda.omp.json' 'nordtron.omp.json')
export POSH_THEME="$XDG_CACHE_HOME/oh-my-posh/themes/$potentialTheme[$RANDOM%$#potentialTheme+1]" eval "$(oh-my-posh init zsh --config="$XDG_CACHE_HOME/oh-my-posh/themes/$potentialTheme[$RANDOM%$#potentialTheme+1]")"
eval "$(oh-my-posh init zsh)"

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
}

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