mirror of
https://github.com/oh-my-fish/oh-my-fish
synced 2024-11-03 15:40:32 +00:00
plugin mc, wrapper to use a shell compatible with mc
This commit is contained in:
parent
7f9ad833f3
commit
48d0a05042
8
plugins/mc/mc.fish
Normal file
8
plugins/mc/mc.fish
Normal 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
|
||||
|
Loading…
Reference in New Issue
Block a user