ubuntu updates

This commit is contained in:
Bobby
2026-04-03 12:38:12 -04:00
parent 8970174498
commit 15fb69e6c9
4 changed files with 24 additions and 17 deletions

8
.zshrc
View File

@@ -32,19 +32,19 @@ HISTFILE="$XDG_CACHE_HOME/zsh_history" # move histfile to cache
HISTCONTROL=ignoreboth # consecutive duplicates & commands starting with space are not saved
# fzf setup
export PATH="$HOME/.fzf/bin:$PATH"
source <(fzf --zsh)
# keybinds
bindkey "^a" beginning-of-line
bindkey "^e" end-of-line
bindkey "^R" fzf-history-widget
bindkey "^[[A" history-beginning-search-backward
bindkey "^[[B" history-beginning-search-forward
bindkey "${terminfo[kcuu1]}" history-beginning-search-backward
bindkey "${terminfo[kcud1]}" history-beginning-search-forward
# setup prompt - starship
eval "$(starship init zsh)"
# syntax highlighting
source /opt/homebrew/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh