Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
  • 2 commits
  • 1 file changed
  • 0 commit comments
  • 1 contributor
Showing with 17 additions and 5 deletions.
  1. +17 −5 powershell/profile.ps1
View
22 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,7 +141,7 @@ 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
@@ -149,7 +149,8 @@ if (test-path $pathToSublime)
}
else
{
- $pathToSublime = "E:\Personal\src\" + $me + "\bin\Sublime Text\"
+
+ $pathToSublime = "E:\Personal\src\" + $me + "\bin\Sublime Text"
if (test-path $pathToSublime)
{
add-pathVariable $pathToSublime
@@ -159,15 +160,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"
+}

No commit comments for this range

Something went wrong with that request. Please try again.