How to navigate command options in powershell
I found an example where someone switching between command options somehow: https://chocolatey.org/docs/commandslist
It looks like he uses some hotkey for navigation between command options --pre, --exact, etc.
What is this hotkey?
powershell
add a comment |
I found an example where someone switching between command options somehow: https://chocolatey.org/docs/commandslist
It looks like he uses some hotkey for navigation between command options --pre, --exact, etc.
What is this hotkey?
powershell
probably tab I suspect, can you check this? Tab will auto complete the parameters to a PS script for example.
– HelpingHand
Jan 27 at 21:59
Tab navigates through files and folder in the current folder.
– Alexey Ryazhskikh
Jan 27 at 22:55
on my win7ps5.1 setup, the standard intellisense lets me tab-complete & then work thru all the parameters that fit what i typed before i hit the tab key. this works in the ISE and the console.
– Lee_Dailey
Jan 27 at 23:01
As for this... (Tab navigates through files and folder in the current folder.), intelligence allows both depending on what you type previously, as well as all switches, parameters, etc., whether it's the consolehost, ISE, VSCode. Each has it's own quirks. The author of that post, may have also tweaked their profile, and or PSReadline to meet their needs.
– postanote
Jan 28 at 1:04
add a comment |
I found an example where someone switching between command options somehow: https://chocolatey.org/docs/commandslist
It looks like he uses some hotkey for navigation between command options --pre, --exact, etc.
What is this hotkey?
powershell
I found an example where someone switching between command options somehow: https://chocolatey.org/docs/commandslist
It looks like he uses some hotkey for navigation between command options --pre, --exact, etc.
What is this hotkey?
powershell
powershell
asked Jan 27 at 21:29
Alexey RyazhskikhAlexey Ryazhskikh
12715
12715
probably tab I suspect, can you check this? Tab will auto complete the parameters to a PS script for example.
– HelpingHand
Jan 27 at 21:59
Tab navigates through files and folder in the current folder.
– Alexey Ryazhskikh
Jan 27 at 22:55
on my win7ps5.1 setup, the standard intellisense lets me tab-complete & then work thru all the parameters that fit what i typed before i hit the tab key. this works in the ISE and the console.
– Lee_Dailey
Jan 27 at 23:01
As for this... (Tab navigates through files and folder in the current folder.), intelligence allows both depending on what you type previously, as well as all switches, parameters, etc., whether it's the consolehost, ISE, VSCode. Each has it's own quirks. The author of that post, may have also tweaked their profile, and or PSReadline to meet their needs.
– postanote
Jan 28 at 1:04
add a comment |
probably tab I suspect, can you check this? Tab will auto complete the parameters to a PS script for example.
– HelpingHand
Jan 27 at 21:59
Tab navigates through files and folder in the current folder.
– Alexey Ryazhskikh
Jan 27 at 22:55
on my win7ps5.1 setup, the standard intellisense lets me tab-complete & then work thru all the parameters that fit what i typed before i hit the tab key. this works in the ISE and the console.
– Lee_Dailey
Jan 27 at 23:01
As for this... (Tab navigates through files and folder in the current folder.), intelligence allows both depending on what you type previously, as well as all switches, parameters, etc., whether it's the consolehost, ISE, VSCode. Each has it's own quirks. The author of that post, may have also tweaked their profile, and or PSReadline to meet their needs.
– postanote
Jan 28 at 1:04
probably tab I suspect, can you check this? Tab will auto complete the parameters to a PS script for example.
– HelpingHand
Jan 27 at 21:59
probably tab I suspect, can you check this? Tab will auto complete the parameters to a PS script for example.
– HelpingHand
Jan 27 at 21:59
Tab navigates through files and folder in the current folder.
– Alexey Ryazhskikh
Jan 27 at 22:55
Tab navigates through files and folder in the current folder.
– Alexey Ryazhskikh
Jan 27 at 22:55
on my win7ps5.1 setup, the standard intellisense lets me tab-complete & then work thru all the parameters that fit what i typed before i hit the tab key. this works in the ISE and the console.
– Lee_Dailey
Jan 27 at 23:01
on my win7ps5.1 setup, the standard intellisense lets me tab-complete & then work thru all the parameters that fit what i typed before i hit the tab key. this works in the ISE and the console.
– Lee_Dailey
Jan 27 at 23:01
As for this... (Tab navigates through files and folder in the current folder.), intelligence allows both depending on what you type previously, as well as all switches, parameters, etc., whether it's the consolehost, ISE, VSCode. Each has it's own quirks. The author of that post, may have also tweaked their profile, and or PSReadline to meet their needs.
– postanote
Jan 28 at 1:04
As for this... (Tab navigates through files and folder in the current folder.), intelligence allows both depending on what you type previously, as well as all switches, parameters, etc., whether it's the consolehost, ISE, VSCode. Each has it's own quirks. The author of that post, may have also tweaked their profile, and or PSReadline to meet their needs.
– postanote
Jan 28 at 1:04
add a comment |
1 Answer
1
active
oldest
votes
Please use the below to enable tab completion for chocolatey:
Import-Module “$env:ChocolateyInstallhelperschocolateyProfile.psm1” -Force
This was obtained from this source:
https://github.com/chocolatey/choco/issues/763
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1399039%2fhow-to-navigate-command-options-in-powershell%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Please use the below to enable tab completion for chocolatey:
Import-Module “$env:ChocolateyInstallhelperschocolateyProfile.psm1” -Force
This was obtained from this source:
https://github.com/chocolatey/choco/issues/763
add a comment |
Please use the below to enable tab completion for chocolatey:
Import-Module “$env:ChocolateyInstallhelperschocolateyProfile.psm1” -Force
This was obtained from this source:
https://github.com/chocolatey/choco/issues/763
add a comment |
Please use the below to enable tab completion for chocolatey:
Import-Module “$env:ChocolateyInstallhelperschocolateyProfile.psm1” -Force
This was obtained from this source:
https://github.com/chocolatey/choco/issues/763
Please use the below to enable tab completion for chocolatey:
Import-Module “$env:ChocolateyInstallhelperschocolateyProfile.psm1” -Force
This was obtained from this source:
https://github.com/chocolatey/choco/issues/763
answered Jan 31 at 9:34
CraftyBCraftyB
1,12429
1,12429
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1399039%2fhow-to-navigate-command-options-in-powershell%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
probably tab I suspect, can you check this? Tab will auto complete the parameters to a PS script for example.
– HelpingHand
Jan 27 at 21:59
Tab navigates through files and folder in the current folder.
– Alexey Ryazhskikh
Jan 27 at 22:55
on my win7ps5.1 setup, the standard intellisense lets me tab-complete & then work thru all the parameters that fit what i typed before i hit the tab key. this works in the ISE and the console.
– Lee_Dailey
Jan 27 at 23:01
As for this... (Tab navigates through files and folder in the current folder.), intelligence allows both depending on what you type previously, as well as all switches, parameters, etc., whether it's the consolehost, ISE, VSCode. Each has it's own quirks. The author of that post, may have also tweaked their profile, and or PSReadline to meet their needs.
– postanote
Jan 28 at 1:04