1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-11-28 15:56:28 +00:00

fix(bug-report): use correct path for ion config (#1726)

This commit is contained in:
David Knaack 2020-10-02 18:45:23 +02:00 committed by GitHub
parent 476edc4ca1
commit f7f59cd996
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -173,7 +173,7 @@ fn get_config_path(shell: &str) -> Option<PathBuf> {
match shell { match shell {
"bash" => Some(".bashrc"), "bash" => Some(".bashrc"),
"fish" => Some(".config/fish/config.fish"), "fish" => Some(".config/fish/config.fish"),
"ion" => Some("~/.config/ion/initrc"), "ion" => Some(".config/ion/initrc"),
"powershell" => { "powershell" => {
if cfg!(windows) { if cfg!(windows) {
Some("Documents/PowerShell/Microsoft.PowerShell_profile.ps1") Some("Documents/PowerShell/Microsoft.PowerShell_profile.ps1")