Permalink
Browse files

Update profile

  • Loading branch information...
1 parent 9cf599c commit 35662393e789edd33d90d4a04165b38f0198513d @scottdensmore committed Dec 25, 2012
Showing with 16 additions and 5 deletions.
  1. +16 −5 powershell/profile.ps1
@@ -103,7 +103,7 @@ function prompt {
}
# UNIX friendly environment variables
-$env:EDITOR = "sublime_text"
+$env:EDITOR = "notepad2.exe"
$env:VISUAL = $env:EDITOR
$env:GIT_EDITOR = $env:EDITOR
$env:TERM = "msys"
@@ -141,15 +141,15 @@ else
# Sublime
$me = [Environment]::UserName
-$pathToSublime = "C:\Users\" + $me + "\Dropbox\Windows\Development\bin\Sublime Text\"
+$pathToSublime = "C:\Users\" + $me + "\Dropbox\Windows\Development\bin\Sublime Text"
if (test-path $pathToSublime)
{
add-pathVariable $pathToSublime
set-alias nt $pathToSublime\sublime_text.exe
}
else
{
- $pathToBin = "E:\Personal\src\" + $me + "\bin\Sublime Text\"
+ $pathToBin = "E:\Personal\src\" + $me + "\bin\Sublime Text"
if (test-path $pathToSublime)
{
add-pathVariable $pathToSublime
@@ -159,15 +159,26 @@ else
# C files support
if (test-path "C:\Program Files (x86)\CMake 2.8") {
- append-path "C:\Program Files (x86)\CMake 2.8\bin"
+ add-pathVariable "C:\Program Files (x86)\CMake 2.8\bin"
}
if (test-path "C:\Python27") {
- append-path "C:\Python27"
+ add-pathVariable "C:\Python27"
}
if (test-path "C:\GnuWin32\bin") {
append-path "C:\GnuWin32\bin"
}
+# reflector
+$me = [Environment]::UserName
+$pathToReflector = "C:\Users\" + $me + "\Dropbox\Windows\Development\bin\reflector"
+if (test-path $pathToSublime)
+{
+ set-alias reflector $pathToReflector\Reflector.exe
+}
+# peek
+if (test-path "C:\Program Files (x86)\JetBrains\dotPeek\v1.0\Bin\") {
+ set-alias peek "C:\Program Files (x86)\JetBrains\dotPeek\v1.0\Bin\dotPeek.exe"
+}

0 comments on commit 3566239

Please sign in to comment.