mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2025-02-17 10:52:47 +08: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