updates
This commit is contained in:
parent
cfcdf95814
commit
5b0216753e
|
@ -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
|
||||
|
|
|
@ -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 "$@"
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
# find next entry in PATH for wrapper scripts
|
||||
# Usage: next-in-path <program name> <current $0>
|
||||
typeset -U path
|
||||
next-in-path() {
|
||||
entries=( $(which -a $1) )
|
||||
index=${entries[(ie)$2]}
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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/
|
||||
|
|
Loading…
Reference in a new issue