-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PowerShell: Command history is not available using up and down arrows #9
Comments
Closing as this was fixed in 0.0.1-rc.5 |
node: v20.18.0
it stuck in cd ~\Developer\intro-to-react-by-day\day-10-ts\ ; bun run dev This Might Help:
@cpendery is there a workaround like [bindings.previousSuggestion]
key = "up"
ctrl = true this is really annoying |
I can't replicate this on |
# ---------------- inshellisense shell plugin ----------------
$__IsCommandFlag = ([Environment]::GetCommandLineArgs() | ForEach-Object { $_.contains("-Command") }) -contains $true
$__IsNoExitFlag = ([Environment]::GetCommandLineArgs() | ForEach-Object { $_.contains("-NoExit") }) -contains $true
$__IsInteractive = -not $__IsCommandFlag -or ($__IsCommandFlag -and $__IsNoExitFlag)
if ([string]::IsNullOrEmpty($env:ISTERM) -and [Environment]::UserInteractive -and $__IsInteractive) {
is -s powershell
Stop-Process -Id $pid
}
# end of file nb: but this bug still occurs with git-bash-windows "C:\Program Files\Git\etc\bash.bashrc" for 0.0.1-rc.16 and 0.0.1-rc.18 # ---------------- inshellisense shell plugin ----------------
if [[ -z "${ISTERM}" && $- = *i* && $- != *c* ]]; then
shopt -q login_shell
login_shell=$?
if [ $login_shell -eq 0 ]; then
is -s bash --login ; exit
else
is -s bash ; exit
fi
fi
# end of file |
When inside inshellisence, using up or down arrows will not bring up commands from the command history.
Applicable to PowerShell, not tested with bash or other shells.
The text was updated successfully, but these errors were encountered: