ubuntu updates
This commit is contained in:
8
.zshrc
8
.zshrc
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user