aboutsummaryrefslogtreecommitdiff
path: root/.config/zsh/.zshrc
diff options
context:
space:
mode:
authorsrdusr <trevorgray@srdusr.com>2023-06-24 01:27:17 +0200
committersrdusr <trevorgray@srdusr.com>2023-06-24 01:27:17 +0200
commit07e3c9e55010b0f5d102e5390d9dd1ed50acaa65 (patch)
treed0d09150e9f6f6315933e052a178dd8757b357ad /.config/zsh/.zshrc
parente4781c00c103fe24e1170f659f96231f5356b0de (diff)
downloaddotfiles-07e3c9e55010b0f5d102e5390d9dd1ed50acaa65.tar.gz
dotfiles-07e3c9e55010b0f5d102e5390d9dd1ed50acaa65.zip
Moved path variables between .zshrc and .zshenv to avoid duplication
Diffstat (limited to '.config/zsh/.zshrc')
-rw-r--r--.config/zsh/.zshrc9
1 files changed, 1 insertions, 8 deletions
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc
index f5c7da1..e1a2521 100644
--- a/.config/zsh/.zshrc
+++ b/.config/zsh/.zshrc
@@ -9,20 +9,16 @@
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
-export PATH=$HOME/.bin:$HOME/.local/bin:/usr/local/bin:/sbin:/usr/sbin:$PATH
-
#export KEYTIMEOUT=1
#export KEYTIMEOUT=25
if [[ -n "$SSH_CLIENT" ]]; then
export KEYTIMEOUT=1
else
- export KEYTIMEOUT=25
+ export KEYTIMEOUT=10
fi
########## Vi mode ##########
bindkey -v
-export EDITOR=$VISUAL
-export VISUAL=nvim
bindkey -M viins '^?' backward-delete-char
bindkey -M viins '^[[3~' delete-char
bindkey -M vicmd '^[[3~' delete-char
@@ -70,9 +66,6 @@ stty intr '^q' # free Ctrl+C for copy use Ctrl+q instead
stty lnext '^-' # free Ctrl+V for paste use ^- instead
stty stop undef # Disable ctrl-s to freeze terminal.
stty start undef
-
-export PATH="$HOME/.local/bin:$PATH"
-export VIRTUAL_ENV_DISABLE_PROMPT=true
#unsetopt BEEP
# Enable various options