From 48d0a050422d275edd7b803a1f06357c2efa14f7 Mon Sep 17 00:00:00 2001 From: jeremiejig Date: Thu, 7 Aug 2014 12:56:14 +0200 Subject: [PATCH] plugin mc, wrapper to use a shell compatible with mc --- plugins/mc/mc.fish | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 plugins/mc/mc.fish diff --git a/plugins/mc/mc.fish b/plugins/mc/mc.fish new file mode 100644 index 0000000..8b7a2dd --- /dev/null +++ b/plugins/mc/mc.fish @@ -0,0 +1,8 @@ +function mc --description "Visual shell for Unix-like systems." + set -lx SHELL sh + if which bash > /dev/null + set SHELL (which bash) + end + command mc $argv +end +