plugin mc, wrapper to use a shell compatible with mc

This commit is contained in:
jeremiejig 2014-08-07 12:56:14 +02:00 committed by Bruno Pinto
parent 7f9ad833f3
commit 48d0a05042

8
plugins/mc/mc.fish Normal file
View File

@ -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