Fix PowerShell profile file install

This commit is contained in:
Martin Blazik
2020-08-19 12:26:24 +02:00
parent f304414518
commit da5a7e4395

6
scripts/powershell-install.sh Normal file → Executable file
View File

@@ -1,9 +1,11 @@
#!/bin/bash
set -x
set -o
PWSH_PROFILE_NAME=Microsoft.PowerShell_profile.ps1
PWSH_PROFILE_PATH=$HOME/.config/
PWSH_PROFILE_PATH=$HOME/.config/powershell/
cp config/$PWSH_PROFILE_NAME $PWSH_PROFILE_PATH
mkdir -p $PWSH_PROFILE_PATH
cp conf/$PWSH_PROFILE_NAME $PWSH_PROFILE_PATH