Skip to content

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

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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