-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3fa3b57
commit c2910af
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
Import-Module PSReadLine | ||
Set-PSReadlineOption -EditMode Emacs | ||
Set-PSReadlineKeyHandler -Key Tab -Function Complete | ||
# Clipboard interaction is bound by default in Windows mode, but not Emacs mode. | ||
Set-PSReadlineKeyHandler -Key Shift+Ctrl+C -Function Copy | ||
Set-PSReadlineKeyHandler -Key Ctrl+V -Function Paste | ||
|
||
function tensorflowroot {set-location C:/Users/prs/work_projects/tensorflow/tensorflow} | ||
Set-Alias tr tensorflowroot | ||
|
||
function emacsshell {emacs -nw -Q $args} | ||
Set-Alias em emacsshell | ||
|
||
function mysearch {gci -r $args} | ||
Set-Alias se mysearch | ||
|
||
Set-Alias np "C:\Program Files (x86)\Notepad++\notepad++.exe" | ||
Set-Alias re runemacs | ||
|
||
function myls {dir | sort LastWriteTime} | ||
Set-Alias l myls | ||
|
||
# Chocolatey profile | ||
$ChocolateyProfile = "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1" | ||
if (Test-Path($ChocolateyProfile)) { | ||
Import-Module "$ChocolateyProfile" | ||
} |