Skip to content

manual_install.sh creates wrong directory hierarchy #459

Closed
@veita

Description

@veita

When manual_install.sh is executed it creates the following directory tree:

~/.vim/
├── autoload
│   └── autoload
│       └── elixir
│           ├── indent.vim
│           └── util.vim
├── compiler
│   └── compiler
│       ├── credo.vim
│       ├── exunit.vim
│       └── mix.vim
├── ftdetect
│   └── ftdetect
│       └── elixir.vim
├── ftplugin
│   └── ftplugin
│       ├── eelixir.vim
│       └── elixir.vim
├── indent
│   └── indent
│       ├── eelixir.vim
│       └── elixir.vim
└── syntax
    └── syntax
        ├── eelixir.vim
        └── elixir.vim

The correct tree would be

~/.vim/
├── autoload
│   └── elixir
│       ├── indent.vim
│       └── util.vim
├── compiler
│   ├── credo.vim
│   ├── exunit.vim
│   └── mix.vim
├── ftdetect
│   └── elixir.vim
├── ftplugin
│   ├── eelixir.vim
│   └── elixir.vim
├── indent
│   ├── eelixir.vim
│   └── elixir.vim
└── syntax
    ├── eelixir.vim
    └── elixir.vim

The script

#!/bin/bash

mkdir -p ~/.vim/

for INSTALL_DIR in autoload compiler ftdetect ftplugin indent syntax
do
  cp -R ${INSTALL_DIR} ~/.vim/
done

should do it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions