Comments (7)
This I think is a similar enough request to #12962 that can close this as Resolution-Duplicate
from powershell.
Set-Item Function:ttymc 'mc -bS default @args'
from powershell.
this as Resolution-Duplicate
Not to write scripts, functions or install 3party modules.
This is not resolution. Because function is not an alias. This is feature request and not looking for workaround.
from powershell.
The linked duplicate explicitly asks for an alias-based solution.
from powershell.
The linked duplicate explicitly asks for an alias-based solution.
I couldn't find a solution there. Just a workaround with functions. I want to get rid of the alias functions because there is a list of natural aliases and a few other functions. In my opinion, this is generally not neat, but I like order when everything is in its place.. The only good thing is that aliases of functions are displayed with Get-Alias
cmdlet.
If it duplicate #12962 then I will close this issue tomorrow.
from powershell.
Generally speaking, @237dmitry:
It is asking for the same thing / reporting the same problem that makes a preexisting issue a duplicate, not whether or not the thing that was asked for has since been implemented / a (satisfying) workaround has been posted.
As for a unified discovery mechanism for different command forms: that's what Get-Command
is for.
from powershell.
📣 Hey @237dmitry, how did we do? We would love to hear your feedback with the link below! 🗣️
🔗 https://aka.ms/PSRepoFeedback
from powershell.
Related Issues (20)
- .Net 8 in PowerShell 7 System.Private.CoreLib fails to register. HOT 41
- `ConvertFrom-StringData` mistakenly emits a statement-terminating error when one of its input strings isn't well-formed HOT 2
- Redirection operator `>` should not be hardcoded to files HOT 6
- Update from System.Data.SqlClient to Microsoft.Data.SqlClient HOT 3
- .NET App using Powershell.SDK fails to run, when building as SingeFile HOT 2
- Add a command which gets the System Lockdown mode information HOT 2
- Overriding .NETs ToString() method can cause unexpected behaviour when using Transcripts HOT 1
- `Compare-Object` doesn't compare custom value types (`structs`) (that don't implement `IComparable`) correctly HOT 4
- Invoke-WebRequest needs SupportsShouldProcess
- using `Get-AppxPackage` when `SYSTEMDRIVE` env var is not set creates a (literal) `%SystemDrive%/…` directory HOT 7
- Get-Help shows incorrect spacing and unwanted prefixes for first line of .EXAMPLE text HOT 6
- Argument with colon in it is incorrectly handled if not quoted HOT 12
- Get-AuthenticodeSignature needs to use embedded signatures HOT 5
- Change JsonConvert.DefaultSettings cause ExchangeOnlineModule to fail HOT 3
- Quirk behavior auto conversion string to integer (based on Get-UICulture instead of Get-Culture) HOT 2
- Invoke-WebRequest and Invoke-RestMethod in Powershell 7.4.2 - errors using PUT method
- `$MyInvocation.PSCommandPath` unexpectedly returns `$null` rather than the empty string when there is no calling script.
- Get-AuthenticodeSignature needs timestamp added to the output HOT 1
- pwsh.exe -NoProfile takes minutes to load after .NET update HOT 2
- `Remove-Item` progress should only be displayed if > 5 items
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from powershell.