Skip to content

Add support for #!/usr/bin/env bash for .vimrc (DetectBash) #56

@gonzaru

Description

@gonzaru

Hello!

As some of scripts of the repo uses this path, maybe it's a good idea also support it on .vimrc if necessary.

fun! s:DetectBash()
    if getline(1) == '#!/usr/bin/bash' || getline(1) == '#!/bin/bash' || getline(1) == '#!/usr/bin/env bash'
      ...
    endif
endfun

Regards!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions