From 555312a0910aa290f89924772ead6e9232665e10 Mon Sep 17 00:00:00 2001 From: Xavier Logerais Date: Thu, 14 Sep 2017 13:05:43 +0200 Subject: [PATCH] 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