fixed funtion
This commit is contained in:
parent
d400eef89f
commit
2cdf5fc247
@ -89,7 +89,6 @@ function Test-CommandExists {
|
|||||||
$EDITOR = if (Test-CommandExists nano) { 'nano' }
|
$EDITOR = if (Test-CommandExists nano) { 'nano' }
|
||||||
elseif (Test-CommandExists notepad++) { 'notepad++' }
|
elseif (Test-CommandExists notepad++) { 'notepad++' }
|
||||||
else { 'notepad' }
|
else { 'notepad' }
|
||||||
Set-Alias -Name nano -Value $EDITOR
|
|
||||||
|
|
||||||
function Edit-Profile {
|
function Edit-Profile {
|
||||||
nano $PROFILE.CurrentUserAllHosts
|
nano $PROFILE.CurrentUserAllHosts
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user