From 555312a0910aa290f89924772ead6e9232665e10 Mon Sep 17 00:00:00 2001 From: Xavier Logerais Date: Thu, 14 Sep 2017 13:05:43 +0200 Subject: [PATCH 1/2] Added some aliases --- aliases.d/mc | 7 +++++++ aliases.d/mutt | 9 +++++++++ 2 files changed, 16 insertions(+) create mode 100644 aliases.d/mc create mode 100644 aliases.d/mutt diff --git a/aliases.d/mc b/aliases.d/mc new file mode 100644 index 0000000..6f6b7c8 --- /dev/null +++ b/aliases.d/mc @@ -0,0 +1,7 @@ +#!/bin/bash + +if (which mc &> /dev/null); then + if [ "$TERM" = "rxvt-unicode" ]; then + alias mc="TERM=rxvt-unicode-256color mc" + fi +fi diff --git a/aliases.d/mutt b/aliases.d/mutt new file mode 100644 index 0000000..6196cb0 --- /dev/null +++ b/aliases.d/mutt @@ -0,0 +1,9 @@ +#!/bin/bash + +if (which mutt &> /dev/null); then + if [ "$TERM" = "rxvt-unicode" ]; then + alias mutt="TERM=rxvt-unicode-256color SOCKS_SERVER=10.181.176.208:1080 socksify mutt" + else + alias mutt="SOCKS_SERVER=10.181.176.208:1080 socksify mutt" + fi +fi From e536a0679f0cb80296383628c8782d4a56b941d9 Mon Sep 17 00:00:00 2001 From: Xavier Logerais Date: Thu, 14 Sep 2017 13:06:10 +0200 Subject: [PATCH 2/2] Add environment variable XDG_RUNTIME_DIR --- profile.d/xdg | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 profile.d/xdg diff --git a/profile.d/xdg b/profile.d/xdg new file mode 100644 index 0000000..cb07d05 --- /dev/null +++ b/profile.d/xdg @@ -0,0 +1,4 @@ +#!/bin/bash + +# Defined prefered applications +export XDG_RUNTIME_DIR=$HOME/.cache