bugGNU nano - Bugs: bug #57411, [Request] let syntax 'sh' cater...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #57411: [Request] let syntax 'sh' cater for distributions with "exotic" bashrc locations

Submitter:  bird
Submitted:  Sat 14 Dec 2019 03:07:59 PM UTC
   
 
Severity:  1 - Wish Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Tue 24 Dec 2019 09:14:20 AM UTC, comment #4: 

The change has been released in 4.7.

Benno Schulenberg <bens>
Group administrator
Mon 16 Dec 2019 06:15:23 PM UTC, comment #3: 

Thanks for confirming.  Fixed in git, commit 26d88ccb.

Benno Schulenberg <bens>
Group administrator
Mon 16 Dec 2019 12:03:10 AM UTC, comment #2: 

Yes, it uses the same zsh defaults as Arch.
https://wiki.archlinux.org/index.php/Zsh#Startup/Shutdown_files

Your suggestion worked perfectly, thanks.

bird
Sun 15 Dec 2019 12:24:57 PM UTC, comment #1: 

Thanks for reporting.

If you install another shell, say zsh, does its default rc file get installed as /etc/zsh/zshrc?  If yes, then it would be better to make the filename regex in sh.nanorc more general, by replacing the second "\." with "(\.|/)".

Benno Schulenberg <bens>
Group administrator
Sat 14 Dec 2019 03:07:59 PM UTC, original submission:  

Hello,

I'm using Artix GNU/Linux, which has its default root bashrc at /etc/bash/bashrc and isn't recognised by sh.nanorc.

I solved this by adding "|bashrc" into the sh syntax after "profile", but there might be more precise options.

Thank you.

bird

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bens (Posted a comment)
  • -email is unavailable- added by bird (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-12-24 bens Open/ClosedOpen Closed
    2019-12-16 bens StatusNeed Info Fixed
    2019-12-15 bens StatusNone Need Info
        Summary[Request] Add &quot;bashrc&quot; to sh.nanorc to include distributions with &quot;exotic&quot; bashrc locations [Request] let syntax 'sh' cater for distributions with "exotic" bashrc locations
    2019-12-15 bens Severity3 - Normal 1 - Wish
        Assigned toNone bens

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code