From 8f593feffbf0a2ac78bbf673560001687d971116 Mon Sep 17 00:00:00 2001 From: eeleater Date: Thu, 27 Apr 2023 08:11:58 +0200 Subject: [PATCH] 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 --- dot_config/sheldon/plugins.toml | 3 + dot_config/topgrade.toml | 100 +++++++++++++++++++++++++++++ dot_config/zsh/env.zsh | 2 + dot_config/zsh/files/evalstuff.zsh | 1 + dot_config/zsh/profile.zsh | 1 + dot_config/zsh/rc.zsh | 2 +- 6 files changed, 108 insertions(+), 1 deletion(-) create mode 100644 dot_config/topgrade.toml diff --git a/dot_config/sheldon/plugins.toml b/dot_config/sheldon/plugins.toml index 2709249..7b2c650 100644 --- a/dot_config/sheldon/plugins.toml +++ b/dot_config/sheldon/plugins.toml @@ -75,6 +75,9 @@ github = "MichaelAquilina/zsh-you-should-use" [plugins.autosuggestions] github = "zsh-users/zsh-autosuggestions" +[plugins.emoji-cli] +github = "b4b4r07/emoji-cli" + #[plugins.autocomplete] #github = "marlonrichert/zsh-autocomplete" diff --git a/dot_config/topgrade.toml b/dot_config/topgrade.toml new file mode 100644 index 0000000..b0ae346 --- /dev/null +++ b/dot_config/topgrade.toml @@ -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 diff --git a/dot_config/zsh/env.zsh b/dot_config/zsh/env.zsh index 1bc9e7a..554e0cd 100644 --- a/dot_config/zsh/env.zsh +++ b/dot_config/zsh/env.zsh @@ -1,3 +1,4 @@ +# kate: syntax zsh; # 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 HISTFILE="$ZSH_CACHE_DIR"/history 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" diff --git a/dot_config/zsh/files/evalstuff.zsh b/dot_config/zsh/files/evalstuff.zsh index 75b4618..3fe1120 100644 --- a/dot_config/zsh/files/evalstuff.zsh +++ b/dot_config/zsh/files/evalstuff.zsh @@ -11,4 +11,5 @@ _evalcache zoxide init --cmd cd zsh _evalcache atuin init zsh _evalcache navi widget zsh _evalcache direnv hook zsh +_evalcache ntfy shell-integration eval "$(keychain --dir "$XDG_CACHE_HOME"/keychain --eval --quiet id_rsa)" diff --git a/dot_config/zsh/profile.zsh b/dot_config/zsh/profile.zsh index 4e2652e..1786645 100644 --- a/dot_config/zsh/profile.zsh +++ b/dot_config/zsh/profile.zsh @@ -1 +1,2 @@ +# kate: syntax zsh; # create the file diff --git a/dot_config/zsh/rc.zsh b/dot_config/zsh/rc.zsh index 85b8181..35f1616 100644 --- a/dot_config/zsh/rc.zsh +++ b/dot_config/zsh/rc.zsh @@ -1,3 +1,4 @@ +# kate: syntax zsh; 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 @@ -7,4 +8,3 @@ eval "$potentialBanner[$RANDOM%$#potentialBanner+1]" # and source plugins eval "$(sheldon source)" -