summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--Makefile4
-rwxr-xr-xuristart.conf2
3 files changed, 6 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index e76a1a0..c865b28 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,6 +2,7 @@ uricmp
uricut
uriescape
urimatch
+urigetline
uriunescape
urijoin
shorten
diff --git a/Makefile b/Makefile
index 090e2c0..5d74d6c 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ CFLAGS:=-std=c11 -pedantic -Wall
PREFIX:=/usr/local
CC:=gcc
-all: urimatch uricut urijoin uricmp uriunescape uriescape shorten
+all: urimatch uricut urijoin uricmp uriunescape uriescape shorten urimatchpairs urigetline
shorten: LDLIBS=-lcrypto
shorten: shorten.c
@@ -24,6 +24,8 @@ clean:
rm -f *.o
install: all
+ install -t $(PREFIX)/bin urimatchpairs
+ install -t $(PREFIX)/bin uristart.conf
install -t $(PREFIX)/bin sqesc
install -t $(PREFIX)/bin ssh_hack
install -t $(PREFIX)/bin xwindowURI
diff --git a/uristart.conf b/uristart.conf
new file mode 100755
index 0000000..3d9ea7d
--- /dev/null
+++ b/uristart.conf
@@ -0,0 +1,2 @@
+#!/usr/bin/env bash
+exec cat "${XDG_CONFIG_HOME:-$HOME/.config}"/uristart.conf