From f83042c6543b1dbc4738df660108231ba4045b6a Mon Sep 17 00:00:00 2001 From: Markus Date: Sun, 18 Apr 2021 13:55:53 +0200 Subject: [PATCH] Improve the scripts --- Scripts/go-downloads.ps1 | 2 +- Scripts/go-home.ps1 | 2 +- Scripts/go-music.ps1 | 2 +- Scripts/go-repos.ps1 | 2 +- Scripts/go-root.ps1 | 2 +- Scripts/go-scripts.ps1 | 2 +- Scripts/my-profile.ps1 | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Scripts/go-downloads.ps1 b/Scripts/go-downloads.ps1 index e16507ef..2884d412 100755 --- a/Scripts/go-downloads.ps1 +++ b/Scripts/go-downloads.ps1 @@ -9,7 +9,7 @@ try { $TargetDir = resolve-path "$HOME/Downloads/" set-location "$TargetDir" - "📂 $TargetDir" + " 📂$TargetDir" exit 0 } catch { write-error "ERROR: line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" diff --git a/Scripts/go-home.ps1 b/Scripts/go-home.ps1 index acf06a66..e15bbe9e 100755 --- a/Scripts/go-home.ps1 +++ b/Scripts/go-home.ps1 @@ -9,7 +9,7 @@ try { $TargetDir = resolve-path "$HOME/" set-location "$TargetDir" - "📂 $TargetDir" + " 📂$TargetDir" exit 0 } catch { write-error "ERROR: line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" diff --git a/Scripts/go-music.ps1 b/Scripts/go-music.ps1 index d6790b61..dc1b3e13 100755 --- a/Scripts/go-music.ps1 +++ b/Scripts/go-music.ps1 @@ -9,7 +9,7 @@ try { $TargetDir = resolve-path "$HOME/Music/" set-location "$TargetDir" - "📂 $TargetDir" + " 📂$TargetDir" exit 0 } catch { write-error "ERROR: line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" diff --git a/Scripts/go-repos.ps1 b/Scripts/go-repos.ps1 index 6a6a6405..86677cbc 100644 --- a/Scripts/go-repos.ps1 +++ b/Scripts/go-repos.ps1 @@ -9,7 +9,7 @@ try { $TargetDir = resolve-path "$HOME/Repos/" set-location "$TargetDir" - "📂 $TargetDir" + " 📂$TargetDir" exit 0 } catch { write-error "ERROR: line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" diff --git a/Scripts/go-root.ps1 b/Scripts/go-root.ps1 index daf7f203..47cfe86d 100755 --- a/Scripts/go-root.ps1 +++ b/Scripts/go-root.ps1 @@ -13,7 +13,7 @@ try { $TargetDir = resolve-path "C:/" } set-location "$TargetDir" - "📂 $TargetDir" + " 📂$TargetDir" exit 0 } catch { write-error "ERROR: line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" diff --git a/Scripts/go-scripts.ps1 b/Scripts/go-scripts.ps1 index befda41f..d7dcc831 100755 --- a/Scripts/go-scripts.ps1 +++ b/Scripts/go-scripts.ps1 @@ -9,7 +9,7 @@ try { $TargetDir = resolve-path "$PSScriptRoot/" set-location "$TargetDir" - "📂 $TargetDir" + " 📂$TargetDir" exit 0 } catch { write-error "ERROR: line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" diff --git a/Scripts/my-profile.ps1 b/Scripts/my-profile.ps1 index 86d9bf6f..ede1e389 100755 --- a/Scripts/my-profile.ps1 +++ b/Scripts/my-profile.ps1 @@ -9,7 +9,7 @@ if ($IsLinux) { $Username = $(whoami) } else { $Username = $env:USERNAME } $Hostname = $(hostname) $host.ui.RawUI.WindowTitle = "$Username @ $Hostname" -"🧑 $Username enters 💻$Hostname at $(Get-Location)" +"🧑$Username entered 💻$Hostname at 📂$(Get-Location)" # My Command Prompt