summaryrefslogtreecommitdiff
path: root/.local/bin
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-02-11 18:49:51 -0500
committerLuke Shumaker <lukeshu@lukeshu.com>2017-02-11 18:49:51 -0500
commite72c0dd2e8909019cfa6118353652b2299f0d16c (patch)
treeee5f5455fd0f46064fec2bbc92b345d38b575e73 /.local/bin
parent83c71bfd686ae36b0483a8278303de7e5fe4924d (diff)
parent0283ec58b3f4e179c0d8f57e5fc9ecb6e7750e17 (diff)
Merge branch 'master' into gluglugt60-par/master
Diffstat (limited to '.local/bin')
-rwxr-xr-x.local/bin/config-path4
-rwxr-xr-x.local/bin/state-the-time3
2 files changed, 6 insertions, 1 deletions
diff --git a/.local/bin/config-path b/.local/bin/config-path
index 1894fba..74748f7 100755
--- a/.local/bin/config-path
+++ b/.local/bin/config-path
@@ -53,6 +53,7 @@ main() {
var_init PATH
var_init MANPATH
var_init LD_LIBRARY_PATH
+ var_init PKG_CONFIG_PATH
var_init RUBYLIB
var_init PERL5LIB
@@ -61,13 +62,14 @@ main() {
var_add PATH "$prefix/bin" "$prefix/sbin"
var_add MANPATH "$prefix/share/man"
var_add LD_LIBRARY_PATH "$prefix"/lib{,32,64}
+ var_add PKG_CONFIG_PATH "$prefix"/lib{,32,64}/pkgconfig
var_add RUBYLIB "$prefix"/lib{,32,64}
var_add PERL5LIB "$prefix"/lib{,32,64}/perl5
done
# Finally, print the values
lines=()
- for var in PATH MANPATH LD_LIBRARY_PATH RUBYLIB PERL5LIB; do
+ for var in PATH MANPATH LD_LIBRARY_PATH PKG_CONFIG_PATH RUBYLIB PERL5LIB; do
lines+=("$(var_done "$var")")
done
shopt -s extglob
diff --git a/.local/bin/state-the-time b/.local/bin/state-the-time
new file mode 100755
index 0000000..760b7e5
--- /dev/null
+++ b/.local/bin/state-the-time
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+espeak "It's $(date +%_H:%M|sed 's/:00/ oh clock/')"