#43351: tmux @1.9a; wrong file is copied to vim's ftdetect, breaking vim syntax -----------------------+-------------------------------- Reporter: vergus@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: tmux | -----------------------+-------------------------------- Comment (by tessarek@…): Argh. Of course you are right. (*Too many shells open and too much cut and paste*) Yes, it should be: {{{ xinstall -m 0644 ${filespath}/tmux.ftdetect ${destroot}${prefix}/share/vim/vimfiles/ftdetect/tmux.vim }}} I don't like it, if an ambiguous file is located in a 'root' dir, because you can't know just by looking at the file, if it's a syntax or a ftdetect file. We can solve this by either creating a directory `ftdetect` and write: {{{ xinstall -m 0644 ${filespath}/ftdetect/tmux.vim ${destroot}${prefix}/share/vim/vimfiles/ftdetect }}} or by naming the file differently and write: {{{ xinstall -m 0644 ${filespath}/tmux.ftdetect ${destroot}${prefix}/share/vim/vimfiles/ftdetect/tmux.vim }}} -- Ticket URL: <https://trac.macports.org/ticket/43351#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X