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 "Host" model
info "Kernel" kernel info "Kernel" kernel
info "Uptime" uptime info "Uptime" uptime
info "Packages" packages # info "Packages" packages
info "Shell" shell info "Shell" shell
info "Resolution" resolution info "Resolution" resolution
info "DE" de info "DE" de

View File

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

7
.zshrc
View File

@ -6,12 +6,13 @@ compinit
# End of lines added by compinstall # End of lines added by compinstall
# Lines configured by zsh-newuser-install # Lines configured by zsh-newuser-install
HISTFILE=~/.histfile HISTFILE=~/.histfile
HISTSIZE=1000 HISTSIZE=10000
SAVEHIST=1000 SAVEHIST=10000
bindkey -e bindkey -e
# End of lines configured by zsh-newuser-install # 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" ZSH_CONFIG="$HOME/.config/zsh"
source "$ZSH_CONFIG/functions" source "$ZSH_CONFIG/functions"