Open
Description
I'd like if vscode's shell integration allowed injecting command aliases from the settings.json
file. It would be really helpful to allow projects with a range of shells/os's to share a common set of commands
Settings.json
{
"terminal.integrated.shellIntegration.aliases": {
"gp": "git push"
}
}
Pwsh Injected Command
function __VSCode-<aliasName>() {
<aliasCommand> $args
}
Set-Alias -Name '<aliasName>' -Value '__VSCode-<aliasName>'
Bash/Fish/Zsh Injected Command
alias <aliasName>='<aliasCommand>'