function prompt {
    $location = ([string]$(get-location)).Replace($HOME, '~')
   "$location |-/ "
}

Set-Alias g git

function e {
    emacsclient --alternate-editor="" $Args
}

$local = "$PSScriptRoot/profile_local.ps1"
(Test-Path $local) -And (. $local) > $null

if (Get-Module PSReadLine) {
    Set-PSReadLineOption -EditMode Emacs
}

function prompt {
    $location = ([string]$(get-location)).Replace($HOME, '~')
   "$location |-/ "
}

Set-Alias g git

function e {
    emacsclient --alternate-editor="" $Args
}

$local = "$PSScriptRoot/profile_local.ps1"
(Test-Path $local) -And (. $local) > $null

Set PSReadLine edit mode to Emacs
Set PSReadLine edit mode to Emacs
