Update terminal file icon associations in "FILE_SUFFIX_BY_ICON_KEY" (#31110)

This PR updates terminal file icon associations in icon_theme.rs

I've added a `bash_login` file as mentioned in the gnu docs for bash
startup files. For zsh I updated the startup files to more accurately
reflect the zsh startup file documentation such as adding `zlogin` and
removing `zsh_profile` in favor of `zprofile`. I also added the default
`zsh_history` file that is set on MacOS.

Sources:
- [bash docs - Bash Startup
Files](https://www.gnu.org/software/bash/manual/html_node/Bash-Startup-Files.html)
- [zsh docs - Startup
Files](https://zsh.sourceforge.io/Intro/intro_3.html)

Release Notes: 
- Improved file icon associations in icon_theme.rs to support more shell
configuration files
This commit is contained in:
Luke Janssen 2025-05-26 04:22:43 -04:00 committed by GitHub
parent 8b59776320
commit 748840519c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -224,6 +224,7 @@ const FILE_SUFFIXES_BY_ICON_KEY: &[(&str, &[&str])] = &[
&[
"bash",
"bash_aliases",
"bash_login",
"bash_logout",
"bash_profile",
"bashrc",
@ -233,10 +234,12 @@ const FILE_SUFFIXES_BY_ICON_KEY: &[(&str, &[&str])] = &[
"ps1",
"sh",
"zlogin",
"zlogout",
"zprofile",
"zsh",
"zsh_aliases",
"zsh_histfile",
"zsh_profile",
"zsh_history",
"zshenv",
"zshrc",
],