mirror of
https://github.com/rywng/dotfiles.git
synced 2024-11-25 04:11:49 +08:00
feat(shell): change back to zsh
This commit is contained in:
parent
209599e6ee
commit
135b1e7f88
2
.bashrc
2
.bashrc
@ -20,4 +20,4 @@ fi
|
|||||||
# https://wiki.gentoo.org/wiki/Fish#fish_as_a_default_shell_with_bash_as_the_login_shell
|
# https://wiki.gentoo.org/wiki/Fish#fish_as_a_default_shell_with_bash_as_the_login_shell
|
||||||
# Use nu in place of bash
|
# Use nu in place of bash
|
||||||
# keep this line at the bottom of ~/.bashrc
|
# keep this line at the bottom of ~/.bashrc
|
||||||
[ -x /bin/nu ] && SHELL=/bin/nu exec nu
|
# [ -x /bin/nu ] && SHELL=/bin/nu exec nu
|
||||||
|
@ -7,6 +7,7 @@ bold_italic_font Iosevka Term SS15 Bold Italic
|
|||||||
font_size 14
|
font_size 14
|
||||||
|
|
||||||
# shell stuff
|
# shell stuff
|
||||||
|
|
||||||
shell_integration enabled
|
shell_integration enabled
|
||||||
|
|
||||||
enable_audio_bell no
|
enable_audio_bell no
|
||||||
|
@ -5,7 +5,7 @@ set $left h
|
|||||||
set $down j
|
set $down j
|
||||||
set $up k
|
set $up k
|
||||||
set $right l
|
set $right l
|
||||||
set $term kitty -1 /bin/fish
|
set $term kitty -1
|
||||||
set $menu fuzzel
|
set $menu fuzzel
|
||||||
|
|
||||||
# my keybinds
|
# my keybinds
|
||||||
|
10
.zshrc
10
.zshrc
@ -24,8 +24,7 @@ zinit wait lucid for \
|
|||||||
agkozak/zsh-z \
|
agkozak/zsh-z \
|
||||||
zpm-zsh/colors \
|
zpm-zsh/colors \
|
||||||
zpm-zsh/colorize \
|
zpm-zsh/colorize \
|
||||||
rywng/shortify.zsh \
|
rywng/shortify.zsh
|
||||||
rywng/kitty-zsh
|
|
||||||
|
|
||||||
zinit ice wait lucid atinit"bindkey '' autosuggest-execute" atload'_zsh_autosuggest_start'
|
zinit ice wait lucid atinit"bindkey '' autosuggest-execute" atload'_zsh_autosuggest_start'
|
||||||
zinit light zsh-users/zsh-autosuggestions
|
zinit light zsh-users/zsh-autosuggestions
|
||||||
@ -34,7 +33,6 @@ zinit ice wait lucid
|
|||||||
zinit load hlissner/zsh-autopair
|
zinit load hlissner/zsh-autopair
|
||||||
|
|
||||||
zinit light zsh-users/zsh-completions
|
zinit light zsh-users/zsh-completions
|
||||||
zinit light zsh-users/zsh-history-substring-search
|
|
||||||
|
|
||||||
# Software
|
# Software
|
||||||
if ! command -v bat &> /dev/null ; then
|
if ! command -v bat &> /dev/null ; then
|
||||||
@ -105,11 +103,6 @@ bindkey -M menuselect 'k' vi-up-line-or-history
|
|||||||
bindkey -M menuselect 'l' vi-forward-char
|
bindkey -M menuselect 'l' vi-forward-char
|
||||||
bindkey -M menuselect 'j' vi-down-line-or-history
|
bindkey -M menuselect 'j' vi-down-line-or-history
|
||||||
|
|
||||||
bindkey '^[[A' history-substring-search-up
|
|
||||||
bindkey '^[[B' history-substring-search-down
|
|
||||||
bindkey '' history-substring-search-up
|
|
||||||
bindkey '' history-substring-search-down
|
|
||||||
|
|
||||||
bindkey ' ' magic-space
|
bindkey ' ' magic-space
|
||||||
|
|
||||||
# config & cache location
|
# config & cache location
|
||||||
@ -125,7 +118,6 @@ export ZSHZ_DATA=$HOME/.cache/z
|
|||||||
export BAT_THEME="base16"
|
export BAT_THEME="base16"
|
||||||
export FZF_DEFAULT_OPTS="--reverse --cycle --height=40% --border sharp --prompt=🔎"
|
export FZF_DEFAULT_OPTS="--reverse --cycle --height=40% --border sharp --prompt=🔎"
|
||||||
export GPG_TTY=$(tty) # fixes gpg
|
export GPG_TTY=$(tty) # fixes gpg
|
||||||
export HISTORY_SUBSTRING_SEARCH_FUZZY=1
|
|
||||||
export MANROFFOPT="-c"
|
export MANROFFOPT="-c"
|
||||||
export MANWIDTH=${MANWIDTH:-78}
|
export MANWIDTH=${MANWIDTH:-78}
|
||||||
export SSH_AUTH_SOCK=$XDG_RUNTIME_DIR/ssh-agent.socket
|
export SSH_AUTH_SOCK=$XDG_RUNTIME_DIR/ssh-agent.socket
|
||||||
|
Loading…
Reference in New Issue
Block a user