Update .config/sheldon/plugins.toml

Add .config/topgrade.toml
Update .config/zsh/env.zsh
Update .config/zsh/files/evalstuff.zsh
Update .config/zsh/profile.zsh
Update .config/zsh/rc.zsh
This commit is contained in:
eeleater 2023-04-27 08:11:58 +02:00
parent c9a5fad96c
commit 8f593feffb
6 changed files with 108 additions and 1 deletions

View file

@ -75,6 +75,9 @@ github = "MichaelAquilina/zsh-you-should-use"
[plugins.autosuggestions] [plugins.autosuggestions]
github = "zsh-users/zsh-autosuggestions" github = "zsh-users/zsh-autosuggestions"
[plugins.emoji-cli]
github = "b4b4r07/emoji-cli"
#[plugins.autocomplete] #[plugins.autocomplete]
#github = "marlonrichert/zsh-autocomplete" #github = "marlonrichert/zsh-autocomplete"

100
dot_config/topgrade.toml Normal file
View file

@ -0,0 +1,100 @@
# Don't ask for confirmations
#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"]
# Show Preamble text
display_preamble = false
# Ignore failures for these steps
#ignore_failures = ["powershell"]
# Run specific steps - same options as the command line flag
#only = ["system", "emacs"]
# Do not ask to retry failed steps (default: false)
#no_retry = true
skip_notify = true
display_preamble = false
# Run inside tmux
#run_in_tmux = true
# List of remote machines with Topgrade installed on them
#remote_topgrades = ["toothless", "pi", "parnas"]
# Arguments to pass SSH when upgrading remote systems
#ssh_arguments = "-o ConnectTimeout=2"
# Path to Topgrade executable on remote machines
#remote_topgrade_path = ".cargo/bin/topgrade"
# Arguments to pass tmux when pulling Repositories
#tmux_arguments = "-S /var/tmux.sock"
# Do not set the terminal title
#set_title = false
# Cleanup temporary or old files
#cleanup = true
[git]
#max_concurrency = 5
# Additional git repositories to pull
#repos = [ "~/src/*/", "~/.config/something" ]
# Don't pull the predefined git repos
#predefined_repos = false
# Arguments to pass Git when pulling Repositories
#arguments = "--rebase --autostash"
[composer]
#self_update = true
# Commands to run before anything
[pre_commands]
#"Emacs Snapshot" = "rm -rf ~/.emacs.d/elpa.bak && cp -rl ~/.emacs.d/elpa ~/.emacs.d/elpa.bak"
# Custom commands
[commands]
#"Bedrock: Check Updates" = "sudo brl update"
#"Bedrock: Check Strata" = "sudo pmm -Syyuu"
#"Distrobox: Update all" = "distrobox upgrade --all"
[brew]
#greedy_cask = true
[linux]
# Arguments to pass yay when updating packages
#yay_arguments = "--nodevel"
#trizen_arguments = "--devel"
#enable_tlmgr = true
#emerge_sync_flags = "-q"
#emerge_update_flags = "-uDNa --with-bdeps=y world"
#redhat_distro_sync = false
#rpm_ostree = false
[windows]
# Manually select Windows updates
#accept_all_updates = false
#open_remotes_in_new_terminal = true
# Causes Topgrade to rename itself during the run to allow package managers to upgrade it.
# Use this only if you installed Topgrade by using a package manager such as Scoop to Cargo
#self_rename = true
[npm]
# Use sudo if the NPM directory isn't owned by the current user
#use_sudo = true
[firmware]
# Offer to update firmware; if false just check for and display available updates
#upgrade = true
[flatpak]
# Use sudo for updating the system-wide installation
#use_sudo = true

View file

@ -1,3 +1,4 @@
# kate: syntax zsh;
# path # path
export PATH="$HOME"/.local/bin:"$PATH" export PATH="$HOME"/.local/bin:"$PATH"
@ -59,3 +60,4 @@ export HISTSIZE=$(( 1.2 * SAVEHIST ))
export ZSH_CACHE_DIR="$XDG_CACHE_HOME"/zsh export ZSH_CACHE_DIR="$XDG_CACHE_HOME"/zsh
export HISTFILE="$ZSH_CACHE_DIR"/history export HISTFILE="$ZSH_CACHE_DIR"/history
export GPG_TTY="$TTY" export GPG_TTY="$TTY"
export AUTO_NTFY_DONE_IGNORE="ntfy emacs htop info less mail man meld most mutt nano screen ssh tail tmux top vi vim watch bat cat kate"

View file

@ -11,4 +11,5 @@ _evalcache zoxide init --cmd cd zsh
_evalcache atuin init zsh _evalcache atuin init zsh
_evalcache navi widget zsh _evalcache navi widget zsh
_evalcache direnv hook zsh _evalcache direnv hook zsh
_evalcache ntfy shell-integration
eval "$(keychain --dir "$XDG_CACHE_HOME"/keychain --eval --quiet id_rsa)" eval "$(keychain --dir "$XDG_CACHE_HOME"/keychain --eval --quiet id_rsa)"

View file

@ -1 +1,2 @@
# kate: syntax zsh;
# create the file # create the file

View file

@ -1,3 +1,4 @@
# kate: syntax zsh;
if test -v DISTROBOX_HOST_HOME; then unset ZDOTDIR; exec zsh; fi # fix distrobox if test -v DISTROBOX_HOST_HOME; then unset ZDOTDIR; exec zsh; fi # fix distrobox
if test "x$TERMINALNAME" = "xalacritty"; then eval "$(zellij setup --generate-auto-start zsh)"; fi # autostart zellij only in alacritty if test "x$TERMINALNAME" = "xalacritty"; then eval "$(zellij setup --generate-auto-start zsh)"; fi # autostart zellij only in alacritty
@ -7,4 +8,3 @@ eval "$potentialBanner[$RANDOM%$#potentialBanner+1]"
# and source plugins # and source plugins
eval "$(sheldon source)" eval "$(sheldon source)"