[geany/geany] 3ad162: Autodetect .bashrc, .bash_aliases, and the like

Peter Bittner git-noreply at xxxxx
Wed Jun 17 22:21:40 UTC 2015


Branch:      refs/heads/master
Author:      Peter Bittner <django at bittner.it>
Committer:   Peter Bittner <django at bittner.it>
Date:        Wed, 17 Jun 2015 22:21:40 UTC
Commit:      3ad162724981b65937edbb4a9776b77a11063574
             https://github.com/geany/geany/commit/3ad162724981b65937edbb4a9776b77a11063574

Log Message:
-----------
Autodetect .bashrc, .bash_aliases, and the like

Autodetect /etc/bash_completion (and the like)

Splitted up autodetection patterns for Bash

This will match:

- `*.bash` (any manufactured Bash scripts)
- `~/.bashrc` (hidden Bash configuration in your home directory)
- `~/.bash_*` (partials included by bashrc, e.g. `.bash_aliases`,  `.bash_history`,  `.bash_logout`)
- `/etc/bash.bashrc` (global Bash configuration)
- `/etc/bash_completion` (and potentially any other `/etc/bash_*` file)


Modified Paths:
--------------
    data/filetype_extensions.conf

Modified: data/filetype_extensions.conf
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -56,7 +56,7 @@ R=*.R;*.r;
 Rust=*.rs;
 Ruby=*.rb;*.rhtml;*.ruby;*.gemspec;Gemfile;rakefile;Rakefile;
 Scala=*.scala;*.scl;
-Sh=*.sh;configure;configure.in;configure.in.in;configure.ac;*.ksh;*.mksh;*.zsh;*.ash;*.bash;*.m4;PKGBUILD;*profile;
+Sh=*.sh;configure;configure.in;configure.in.in;configure.ac;*.ksh;*.mksh;*.zsh;*.ash;*.bash;.bashrc;bash.bashrc;.bash_*;bash_*;*.m4;PKGBUILD;*profile;
 SQL=*.sql;
 Tcl=*.tcl;*.tk;*.wish;
 Txt2tags=*.t2t;



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list