diff options
| author | Saumit Dinesan <justsaumit@protonmail.com> | 2022-05-22 00:37:40 +0530 | 
|---|---|---|
| committer | Saumit Dinesan <justsaumit@protonmail.com> | 2022-05-22 00:37:40 +0530 | 
| commit | c3362aefa2e762211409923cfff065541bebf9e7 (patch) | |
| tree | e48e225190fc0bb1a2db18ae2510a89a6f0d8653 /.bash_profile | |
| parent | 4df17a688ba54d710a1d46ee47cb65b5c9e75764 (diff) | |
ble.sh & z4h addition
Diffstat (limited to '.bash_profile')
| -rw-r--r-- | .bash_profile | 25 | 
1 files changed, 1 insertions, 24 deletions
diff --git a/.bash_profile b/.bash_profile index 9afa7da..0337873 100644 --- a/.bash_profile +++ b/.bash_profile @@ -12,14 +12,12 @@  #your $PATH env variable is a list of all your directories from which you can run commands without giving the whole location   #export PATH="$PATH:$HOME/.scripts"  # Setting up default applications -export EDITOR="vim" +export EDITOR="nvim"  export TERMINAL="st"  export BROWSER="brave"  export READER="zathura" - -  [[ -f ~/.bashrc ]] && . ~/.bashrc @@ -29,27 +27,6 @@ if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then  fi -  #Switch escape and Caps Lock   #sudo -n loadkeys ~/.scripts/ttymaps.kmap 2>/dev/null - -# Load powerline-go prompt -function global:prompt { -    $pwd = $ExecutionContext.SessionState.Path.CurrentLocation -    $startInfo = New-Object System.Diagnostics.ProcessStartInfo -    $startInfo.FileName = "powerline-go" -    $startInfo.Arguments = "-shell bare" -    $startInfo.Environment["TERM"] = "xterm-256color" -    $startInfo.CreateNoWindow = $true -    $startInfo.StandardOutputEncoding = [System.Text.Encoding]::UTF8 -    $startInfo.RedirectStandardOutput = $true -    $startInfo.UseShellExecute = $false -    $startInfo.WorkingDirectory = $pwd -    $process = New-Object System.Diagnostics.Process -    $process.StartInfo = $startInfo -    $process.Start() | Out-Null -    $standardOut = $process.StandardOutput.ReadToEnd() -    $process.WaitForExit() -    $standardOut -}  | 
