mirror of https://github.com/rwxrob/dot
add a bunch of stuff
parent
194449d0fb
commit
9eb7bf9937
@ -0,0 +1,17 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
set -e
|
||||||
|
|
||||||
|
file="discord.deb"
|
||||||
|
url="https://discord.com/api/download?platform=linux&format=deb"
|
||||||
|
|
||||||
|
dir="$(mktemp -d)"
|
||||||
|
path="$dir/$file"
|
||||||
|
|
||||||
|
cleanup () {
|
||||||
|
rm -rf "$dir"
|
||||||
|
}
|
||||||
|
trap cleanup EXIT
|
||||||
|
|
||||||
|
curl -L "$url" -o "$path"
|
||||||
|
sudo apt-get install -y "$path"
|
||||||
|
|
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
curl -sL https://firebase.tools | bash
|
||||||
|
|
@ -1,3 +1,3 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cmd=$(command -v $1)
|
cmd=$(command -v "$1")
|
||||||
test -n "$cmd" && exec vi "$cmd"
|
test -n "$cmd" && exec vi "$cmd"
|
||||||
|
Loading…
Reference in New Issue