Changes to zsh configs

This commit is contained in:
GRMrGecko 2023-10-09 16:13:17 -05:00
parent 2fee7601c3
commit 2553fc2d3e
3 changed files with 9 additions and 6 deletions

View File

@ -8,7 +8,7 @@ print_info() {
info "Host" model
info "Kernel" kernel
info "Uptime" uptime
info "Packages" packages
# info "Packages" packages
info "Shell" shell
info "Resolution" resolution
info "DE" de

View File

@ -1,8 +1,10 @@
WORDCHARS='~!#$%^&*(){}[]<>?.+;-'
MOTION_WORDCHARS='~!#$%^&*(){}[]<>?.+;-/'
WORDCHARS='~!#$%^&*(){}[]<>?+;'
MOTION_WORDCHARS='~!#$%^&*(){}[]<>?+;'
''{back,for}ward-word() WORDCHARS=$MOTION_WORDCHARS zle .$WIDGET
bindkey '^[[1;3C' forward-word
bindkey '^[[1;3D' backward-word
bindkey '^[[1;5C' forward-word
bindkey '^[[1;5D' backward-word
bindkey '^[^?' backward-kill-word

7
.zshrc
View File

@ -6,12 +6,13 @@ compinit
# End of lines added by compinstall
# Lines configured by zsh-newuser-install
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
HISTSIZE=10000
SAVEHIST=10000
bindkey -e
# End of lines configured by zsh-newuser-install
export PATH="/usr/local/ubin:$HOME/bin:$HOME/go/bin:$HOME/anaconda3/bin:$PATH"
export PATH="/usr/local/ubin:$HOME/bin:$HOME/go/bin:$HOME/.cargo/bin:$HOME/anaconda3/bin:$PATH:/usr/local/cuda/bin"
export EDITOR="vim"
ZSH_CONFIG="$HOME/.config/zsh"
source "$ZSH_CONFIG/functions"