diff --git a/devel/update-amm b/devel/update-amm index 61db3b0..9c934a8 100755 --- a/devel/update-amm +++ b/devel/update-amm @@ -4,7 +4,7 @@ versions=$(curl -L https://api.github.com/repos/lihaoyi/Ammonite/releases/latest download-version() { ( echo "#/usr/bin/env python --version sh" && \ - curl -L $( echo $versions \ + curl -L $( echo -E $versions \ | jq -r ".assets | map(select(.name | startswith(\"$1\")))[0].browser_download_url") ) > $2 chmod +x $2 diff --git a/flatpaks/schildichat b/flatpaks/schildichat index e8dc904..ad01805 100755 --- a/flatpaks/schildichat +++ b/flatpaks/schildichat @@ -1,4 +1,4 @@ #!/bin/zsh #flatpak: flathub:chat.schildi.desktop export $(dbus-launch) -exec flatpak run chat.schildi.desktop +exec flatpak run chat.schildi.desktop "$@" diff --git a/lib/next-in-path.zsh b/lib/next-in-path.zsh index 2edf4e1..4fb2c95 100644 --- a/lib/next-in-path.zsh +++ b/lib/next-in-path.zsh @@ -1,5 +1,6 @@ # find next entry in PATH for wrapper scripts # Usage: next-in-path +typeset -U path next-in-path() { entries=( $(which -a $1) ) index=${entries[(ie)$2]} diff --git a/misc/prefilled-shell b/misc/prefilled-shell index 8486ca1..ec66e57 100755 --- a/misc/prefilled-shell +++ b/misc/prefilled-shell @@ -1,5 +1,5 @@ #!/usr/bin/expect -# dep: expect +#dep:expect # based on https://askubuntu.com/a/16836/718886 # and https://github.com/kovidgoyal/kitty/issues/3702#issuecomment-858230438 diff --git a/misc/webapp-cp b/misc/webapp-cp index 0a589ef..0d6e73c 100755 --- a/misc/webapp-cp +++ b/misc/webapp-cp @@ -1,3 +1,3 @@ #!/bin/zsh profile="${${0:t}%%-cp}" -cp "$@" $HOME/.jails/firefox-$profile +cp "$@" ${XDG_DATA_HOME:-$HOME/.local/share}/jails/webapp-$profile/