From e55db81b33c96ea9893fe5e39fce1a634de59d28 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 14 Apr 2017 12:05:38 -0400 Subject: bash: aliases: quiet the bc header --- .config/bash/rc.d/10_aliases.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/.config/bash/rc.d/10_aliases.sh b/.config/bash/rc.d/10_aliases.sh index 8499bde..c3766da 100644 --- a/.config/bash/rc.d/10_aliases.sh +++ b/.config/bash/rc.d/10_aliases.sh @@ -101,6 +101,7 @@ alias tree='tree --charset utf8' alias cd=pushd alias gitk='gitk --all --date-order' alias mv='mv -i' +alias bc='bc -q' alias userctl='systemctl --user' alias journalctl='journalctl --no-hostname' # I know what host I'm on -- cgit v1.1-4-g5e80 From a81ce01980e988e7c1a1b85930cc110531eb6416 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 14 Apr 2017 12:05:52 -0400 Subject: mess with dunst --- .config/dunst/dunstrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc index fc93a12..cf99d48 100644 --- a/.config/dunst/dunstrc +++ b/.config/dunst/dunstrc @@ -12,8 +12,8 @@ # %p progress value if set ([ 0%] to [100%]) or nothing # Message format - format = "%s\n%b" - allow_markup = yes + markup = full # full:render-html strip:strip-html no:plaintext + format = "%a: %s\n%b" ignore_newline = no # Message word-wrap/scroll word_wrap = yes # Split lines... -- cgit v1.1-4-g5e80 From 9ba350041c5120cecef1c7b80b88d67d42690015 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 14 Apr 2017 12:07:05 -0400 Subject: git aliases --- .config/git/config | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.config/git/config b/.config/git/config index 4fe81a5..6e5abf2 100644 --- a/.config/git/config +++ b/.config/git/config @@ -6,4 +6,5 @@ [push] default = matching [alias] - lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative + lg = log --graph --format='%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative + hist = log --format='%h %ci -%C(yellow)%d%Creset %s %C(bold blue)<%an>%Creset' --abbrev-commit -- cgit v1.1-4-g5e80 From 3d58a8533cb9616b74c8a93d948c87191e04787b Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 14 Apr 2017 12:08:47 -0400 Subject: ssh: proxy settings --- .config/ssh/config | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.config/ssh/config b/.config/ssh/config index 7687d08..0703fb2 100644 --- a/.config/ssh/config +++ b/.config/ssh/config @@ -3,6 +3,8 @@ Host * ControlMaster auto ControlPath ~/.r/%l/ssh-%r@%h:%p Compression yes + #ProxyCommand proxytunnel --proxy=lukeshu.com:8443 --proxyauth=frc4272:password --encrypt-proxy --dest=%h:%p + #ProxyCommand proxytunnel --proxy=lukeshu.com:8080 --proxyauth=frc4272:password --dest=%h:%p # Purdue ################################################### @@ -23,16 +25,10 @@ Host parabola.nu *.parabola.nu Host lukeshu.com *.lukeshu.com Port 1863 User lukeshu -Host ssl.lukeshu.com - User lukeshu - ProxyCommand proxytunnel --proxy=lukeshu.com:8443 --proxyauth=frc4272:password --encrypt-proxy --dest=lukeshu.com:1863 Host team4272.com Port 1863 User lukeshu -Host ssl.team4272.com - User lukeshu - ProxyCommand proxytunnel --proxy=lukeshu.com:8443 --proxyauth=frc4272:password --encrypt-proxy --dest=team4272.com:1863 Match host build64-par exec "nslookup %n.lan." HostName build64-par -- cgit v1.1-4-g5e80 From 43d88d275db446bd9eca0a7cd89c54e3cf6ecd28 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 14 Apr 2017 12:09:28 -0400 Subject: config-path: Let `manpath` figure out $MANPATH runtime --- .local/bin/config-path | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.local/bin/config-path b/.local/bin/config-path index 74748f7..cbecc95 100755 --- a/.local/bin/config-path +++ b/.local/bin/config-path @@ -51,7 +51,6 @@ main() { IFS=: # Import existing values var_init PATH - var_init MANPATH var_init LD_LIBRARY_PATH var_init PKG_CONFIG_PATH var_init RUBYLIB @@ -60,7 +59,6 @@ main() { # Scan through prefixes for prefix in "${prefixes[@]}"; do 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} @@ -69,7 +67,7 @@ main() { # Finally, print the values lines=() - for var in PATH MANPATH LD_LIBRARY_PATH PKG_CONFIG_PATH RUBYLIB PERL5LIB; do + for var in PATH LD_LIBRARY_PATH PKG_CONFIG_PATH RUBYLIB PERL5LIB; do lines+=("$(var_done "$var")") done shopt -s extglob -- cgit v1.1-4-g5e80 From 05b500a6688c7a7ff9a04fe748a091d33df654a9 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 14 Apr 2017 12:14:51 -0400 Subject: wmii: don't expose WMII_ADDRESS to other units --- .config/wmii-hg/config.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/.config/wmii-hg/config.sh b/.config/wmii-hg/config.sh index ba40460..e56166e 100644 --- a/.config/wmii-hg/config.sh +++ b/.config/wmii-hg/config.sh @@ -296,6 +296,7 @@ runcmd() ( PATH=$_PATH unset NOTIFY_SOCKET # systemd unset WMII_CONFPATH # wmii + unset WMII_ADDRESS # wmii unset _PATH WMII_NAMESPACE WMII_DIR # wmiirc exec 8>&- # xinit/systemd handshake exec systemd-run --user --scope -- sh -c "$*" -- cgit v1.1-4-g5e80