From c3c90132516880a85f50273c482974c63a8a52fa Mon Sep 17 00:00:00 2001 From: Edward Delaporte Date: Tue, 3 Dec 2019 11:18:04 -0600 Subject: [PATCH] Setting up Kali under Linux Subsystem for Windows --- Microsoft.PowerShell_profile.ps1 | 3 +++ setup.sh | 16 ++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 Microsoft.PowerShell_profile.ps1 create mode 100644 setup.sh diff --git a/Microsoft.PowerShell_profile.ps1 b/Microsoft.PowerShell_profile.ps1 new file mode 100644 index 0000000..4ecbd9f --- /dev/null +++ b/Microsoft.PowerShell_profile.ps1 @@ -0,0 +1,3 @@ + +# Path to Flutter +$ENV:PATH +=":/home/delaport/development/flutter/bin" \ No newline at end of file diff --git a/setup.sh b/setup.sh new file mode 100644 index 0000000..da98b14 --- /dev/null +++ b/setup.sh @@ -0,0 +1,16 @@ + +# This setup script is for Kali Linux running under Linux subsystem for Windows +# Because yeah, I'm **that** guy. +## It makes total sense, I swear. + +# Setup git +sudo apt-get install git install vim +git config --global user.email "edward@delaporte.us" +git config --global user.name "Edward Delaporte" +git config --global core.editor /usr/bin/vim + +# Setup PowerShell +sudo apt-get install powershell +chsh --shell /usr/bin/pwsh +mkdir -p /home/delaport/.config/powershell/ +ln -s ~/dotfiles/Microsoft.PowerShell_profile.ps1 ~/.config/powershell/Microsoft.PowerShell_profile.ps1 -- 2.47.3