]> us-delaporte.pagekite.me Git - dotfiles.git/commitdiff
Setting up Kali under Linux Subsystem for Windows
authorEdward Delaporte <edward@delaporte.us>
Tue, 3 Dec 2019 17:18:04 +0000 (11:18 -0600)
committerEdward Delaporte <edward@delaporte.us>
Tue, 3 Dec 2019 17:18:04 +0000 (11:18 -0600)
Microsoft.PowerShell_profile.ps1 [new file with mode: 0644]
setup.sh [new file with mode: 0644]

diff --git a/Microsoft.PowerShell_profile.ps1 b/Microsoft.PowerShell_profile.ps1
new file mode 100644 (file)
index 0000000..4ecbd9f
--- /dev/null
@@ -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 (file)
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