diff --git a/.config/shell/functions b/.config/shell/functions index ffd5f26..bb95427 100644 --- a/.config/shell/functions +++ b/.config/shell/functions @@ -131,7 +131,11 @@ edit-bin() { if f="$(which "$toedit" 2>/dev/null)" && test -f "$f" then edit "$f" else edit-shell -f "$toedit" - test $? != 2 || edit "$HOME/.local/bin/${2:-scripts}/$1" + if test $? = 2 + then local script="$HOME/.local/bin/${2:-scripts}/$1" + edit "$script" && + chmod +x "$script" + fi fi } @@ -260,8 +264,10 @@ u() { # Networking dns() { # TODO implement rdns via -x - drill A @8.8.8.8 -Q "$@" - drill AAAA @8.8.8.8 -Q "$@" + for arg; do + drill A @8.8.8.8 -Q "${arg##*/}" + drill AAAA @8.8.8.8 -Q "${arg##*/}" + done } alias sshk='kitty +kitten ssh' sshl() { diff --git a/.config/topgrade.toml b/.config/topgrade.toml index e44e506..6375cc8 100644 --- a/.config/topgrade.toml +++ b/.config/topgrade.toml @@ -64,7 +64,7 @@ arguments = "--rebase --autostash" [linux] # Arguments to pass yay when updating packages -yay_arguments = "--nodiffmenu --ignore android-studio --ignore clion --ignore intellij-idea-ultimate-edition --ignore intellij-idea-ultimate-edition-jre --ignore webstorm --ignore brave-bin" +yay_arguments = "--nodiffmenu --ignore android-studio --ignore clion --ignore intellij-idea-ultimate-edition --ignore intellij-idea-ultimate-edition-jre --ignore webstorm --ignore webstorm-jre --ignore brave-bin" #trizen_arguments = "--devel" #enable_tlmgr = true #emerge_sync_flags = "-q" diff --git a/.config/yadm/bootstrap b/.config/yadm/bootstrap index 38f8c21..d0e09c5 100755 --- a/.config/yadm/bootstrap +++ b/.config/yadm/bootstrap @@ -39,6 +39,9 @@ template() { } template "$XDG_CONFIG_HOME/doom/user.template.el" template "$XDG_CONFIG_HOME/MuseScore/MuseScore3.template.ini" +# TODO JOSM +# TODO audacity +# TODO puddletag if command -v nvim >/dev/null 2>&1; then echo "Updating NeoVim Plugins"