config: script corrections
This commit is contained in:
parent
2a4c112b20
commit
0d871fd967
|
@ -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() {
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue