1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-11-19 03:25:20 +00:00
starship/src/init
Chrissy LeMaire c9249dbe0b
fix(pwsh): replace Get-Error with $error[0] (#2873)
Get-Error does not exist in all versions of PowerShell, and attempting to use it on machines where it does not exist pollutes $error. Someone may be tempted to use -ErrorAction Ignore but since the command does not exist, it still ends up in $error

This is a dual bug fix because it actually gets errors on all machines now and it does not pollute $error.
2021-07-13 16:31:14 -04:00
..
mod.rs feat: add support for nu shell (#2847) 2021-07-04 15:32:58 -04:00
starship.bash fix(bash): Count jobs with for loop to fix MacOS count issue (#2250) 2021-01-31 22:56:06 +01:00
starship.elv feat: add support for elvish shell (#1725) 2021-02-02 12:59:55 +01:00
starship.fish fix(fish): explicitly set scope in fish init script (#2636) 2021-04-29 19:16:10 +02:00
starship.ion feat: add error messaging (#1576) 2020-09-28 16:38:50 -04:00
starship.nu fix(nu): use correct session key variable name (#2874) 2021-07-10 12:14:42 +02:00
starship.ps1 fix(pwsh): replace Get-Error with $error[0] (#2873) 2021-07-13 16:31:14 -04:00
starship.tcsh feat: add support for tcsh (#2288) 2021-02-27 19:55:27 +01:00
starship.zsh fix(zsh): preserve zle-keymap-select (#2717) 2021-05-12 22:14:48 +02:00