You are not logged in.
Pages: 1
I have got nanorc set up for bash syntax but it only shows files that are
#!/bin/bashIt will not work with
#!/usr/bin/env bashThe syntax file shows
syntax "sh" "\.sh$"
header "^#!.*/(ba|k|pdk)?sh[-0-9_]*"Understand the first part '^#!' but after that I am not sure what I need to change
Wondering if anyone knows how to get it work with env bash?
Offline
syntax "sh" "\.sh$" header "^#!.*/(ba|k|pdk)?sh[-0-9_]*"Understand the first part '^#!' but after that I am not sure what I need to change
Wondering if anyone knows how to get it work with env bash?
Could you try dropping the /
syntax "sh" "\.sh$"
header "^#!.*(ba|k|pdk)?sh[-0-9_]*"Hasta manana, monsieur
Were the only words that I knew for sure
Offline
Check out the .nanorc's in /usr/share/nano/ too, they have one built for shell scripts already.
Offline
@Ninja-1 no shell, bash ![]()
@Oliver yes that is much better ![]()
Offline
Pages: 1