Fix PowerShell profile file install
This commit is contained in:
6
scripts/powershell-install.sh
Normal file → Executable file
6
scripts/powershell-install.sh
Normal file → Executable 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user