From 3549f5ddd884f459a6e8af09eff34b22b2d9eed8 Mon Sep 17 00:00:00 2001 From: Laurent Le Houerou Date: Wed, 1 Sep 2021 21:32:52 +0400 Subject: [PATCH] correction --- init.sh | 5 ++--- setup.ps1 | 3 +++ 2 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 setup.ps1 diff --git a/init.sh b/init.sh index 895fa25..fbb66be 100644 --- a/init.sh +++ b/init.sh @@ -14,6 +14,5 @@ chsh -s /usr/bin/pwsh sudo wget https://github.com/JanDeDobbeleer/oh-my-posh/releases/latest/download/posh-linux-amd64 -O /usr/local/bin/oh-my-posh sudo chmod +x /usr/local/bin/oh-my-posh -cp powershell_profile.ps1 $PROFILE -mkdir -p ~/.config/ohmyposh -cp posh_config.json -p ~/.config/ohmyposh/config.json \ No newline at end of file +pwsh + diff --git a/setup.ps1 b/setup.ps1 new file mode 100644 index 0000000..72cc72a --- /dev/null +++ b/setup.ps1 @@ -0,0 +1,3 @@ +Copy-Item powershell_profile.ps1 $PROFILE +mkdir -p ~/.config/ohmyposh +Copy-Item posh_config.json -p ~/.config/ohmyposh/config.json \ No newline at end of file