mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-01-14 09:58:59 +01:00
Nicer output
This commit is contained in:
parent
e9dd4329b0
commit
acd26206a0
@ -7,7 +7,7 @@
|
||||
#>
|
||||
|
||||
try {
|
||||
$TargetDir = resolve-path "$HOME/Desktop/"
|
||||
$TargetDir = resolve-path "$HOME/Desktop"
|
||||
set-location "$TargetDir"
|
||||
"📂$TargetDir"
|
||||
exit 0
|
||||
|
@ -7,7 +7,7 @@
|
||||
#>
|
||||
|
||||
try {
|
||||
$TargetDir = resolve-path "$HOME/Downloads/"
|
||||
$TargetDir = resolve-path "$HOME/Downloads"
|
||||
set-location "$TargetDir"
|
||||
"📂$TargetDir"
|
||||
exit 0
|
||||
|
@ -7,7 +7,7 @@
|
||||
#>
|
||||
|
||||
try {
|
||||
$TargetDir = resolve-path "$HOME/Dropbox/"
|
||||
$TargetDir = resolve-path "$HOME/Dropbox"
|
||||
set-location "$TargetDir"
|
||||
"📂$TargetDir"
|
||||
exit 0
|
||||
|
@ -7,7 +7,7 @@
|
||||
#>
|
||||
|
||||
try {
|
||||
$TargetDir = resolve-path "$HOME/"
|
||||
$TargetDir = resolve-path "$HOME"
|
||||
set-location "$TargetDir"
|
||||
"📂$TargetDir"
|
||||
exit 0
|
||||
|
@ -7,7 +7,7 @@
|
||||
#>
|
||||
|
||||
try {
|
||||
$TargetDir = resolve-path "$HOME/Music/"
|
||||
$TargetDir = resolve-path "$HOME/Music"
|
||||
set-location "$TargetDir"
|
||||
"📂$TargetDir"
|
||||
exit 0
|
||||
|
@ -7,7 +7,7 @@
|
||||
#>
|
||||
|
||||
try {
|
||||
$TargetDir = resolve-path "$HOME/Repos/"
|
||||
$TargetDir = resolve-path "$HOME/Repos"
|
||||
set-location "$TargetDir"
|
||||
"📂$TargetDir"
|
||||
exit 0
|
||||
|
@ -10,7 +10,7 @@ try {
|
||||
if ($IsLinux) {
|
||||
$TargetDir = resolve-path "/"
|
||||
} else {
|
||||
$TargetDir = resolve-path "C:/"
|
||||
$TargetDir = resolve-path "C:"
|
||||
}
|
||||
set-location "$TargetDir"
|
||||
"📂$TargetDir"
|
||||
|
@ -7,7 +7,7 @@
|
||||
#>
|
||||
|
||||
try {
|
||||
$TargetDir = resolve-path "$PSScriptRoot/"
|
||||
$TargetDir = resolve-path "$PSScriptRoot"
|
||||
set-location "$TargetDir"
|
||||
"📂$TargetDir"
|
||||
exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user