new setup
This commit is contained in:
1 parent
1173f804b5
commit
316edfc2d0
11 files changed
+141
-45
No files matched your search
@@ -15,6 +15,7 @@ export MANROFFOPT="-c"
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
export PATH="$HOME/.bin:$PATH"
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
export PATH="$PATH:$(gem env user_gemhome)/bin"
|
||||
|
||||
export HISTCONTROL=ignoreboth:erasedups
|
||||
#unsetopt beep # try disabling annoying beep sounds
|
||||
@@ -28,9 +29,12 @@ setopt extendedglob # Extended globbing. Allows using regular ex
|
||||
setopt correct # Auto correct mistakes
|
||||
setopt numericglobsort # Sort filenames numerically when it makes sense
|
||||
setopt appendhistory
|
||||
setopt sharehistory
|
||||
export HISTSIZE=10000
|
||||
export SAVEHIST=10000
|
||||
HISTFILE=~/.history
|
||||
setopt GLOB_DOTS
|
||||
#share commands between terminal instances or not
|
||||
unsetopt SHARE_HISTORY
|
||||
#setopt SHARE_HISTORY
|
||||
|
||||
zstyle ':completion:*' special-dirs true # complete hidden directories
|
||||
@@ -73,7 +77,7 @@ zle -N self-insert url-quote-magic
|
||||
|
||||
WORDCHARS=${WORDCHARS//\/[&.;]} # Don't consider certain characters part of the word
|
||||
|
||||
#bindkey -e # use emacs key layout
|
||||
bindkey -e # use emacs key layout
|
||||
bindkey '^[[1;5D' backward-word # 'CTRL + leftarrow'
|
||||
bindkey '^[[1;5C' forward-word # 'CTRL + rightarrow'
|
||||
bindkey '^H' backward-kill-word # delete previous word with ctrl+backspace
|
||||
@@ -136,6 +140,8 @@ source /usr/share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme
|
||||
# If not running interactively, don't do anything
|
||||
[[ $- != *i* ]] && return
|
||||
|
||||
source <(fzf --zsh)
|
||||
source <(tea completion zsh)
|
||||
|
||||
#PS1='[\u@\h \W]\$ '
|
||||
|
||||
Reference in new issue
Block a user