Update zsh stuff

This commit is contained in:
Jeffrey Serio 2022-07-19 08:04:00 -05:00
parent d0ca83b4e5
commit 6b3002edf6
7 changed files with 11 additions and 10 deletions

View File

@ -29,6 +29,7 @@ behind = "⇣${count}"
deleted = "x" deleted = "x"
[container] [container]
style = "bold #f5c2e7"
format = "[$symbol \\[$name\\]]($style)" format = "[$symbol \\[$name\\]]($style)"
# Last param in the first line/row # Last param in the first line/row
@ -41,8 +42,8 @@ disabled = false
# Prompt: param 2 # Prompt: param 2
[character] [character]
format = "$symbol " format = "$symbol "
success_symbol = " [%](#94e2d5)" success_symbol = " [%%](#94e2d5)"
error_symbol = " [%](#d20f39)" error_symbol = " [%%](#d20f39)"
vicmd_symbol = " [<](#94e2d5)" vicmd_symbol = " [<](#94e2d5)"
# SYMBOLS # SYMBOLS

View File

@ -2,9 +2,6 @@
# #
# ~/.zshenv # ~/.zshenv
## lscolors
export LS_COLORS=$(cat ~/.lscolors.sh)
## go paths ## go paths
export GOPATH="${HOME}/go" export GOPATH="${HOME}/go"

5
.zshrc
View File

@ -13,7 +13,7 @@ source ~/.zplug/init.zsh
zplug "~/.zshrc.d", from:local, use:'(*).zsh' zplug "~/.zshrc.d", from:local, use:'(*).zsh'
zplug "zsh-users/zsh-autosuggestions" zplug "zsh-users/zsh-autosuggestions"
zplug "zsh-users/zsh-history-substring-search" zplug "zsh-users/zsh-history-substring-search"
zplug "zsh-users/zsh-syntax-highlighting" zplug "zsh-users/zsh-syntax-highlighting", defer:2
zplug "amaya382/zsh-fzf-widgets" zplug "amaya382/zsh-fzf-widgets"
zplug "chitoku-k/fzf-zsh-completions" zplug "chitoku-k/fzf-zsh-completions"
zplug "plugins/dnf", from:oh-my-zsh zplug "plugins/dnf", from:oh-my-zsh
@ -49,5 +49,8 @@ setopt listpacked
setopt listtypes setopt listtypes
setopt longlistjobs setopt longlistjobs
## lscolors
export LS_COLORS=$(cat ~/.lscolors.sh)
## Prompt ## Prompt
eval "$(starship init zsh)" eval "$(starship init zsh)"

View File

@ -1,6 +1,6 @@
# vim:set ft=zsh ai et sw=4 ts=4: # vim:set ft=zsh ai et sw=4 ts=4:
# #
# ~/.zsh/aliases.zsh # ~/.zshrc.d/aliases.zsh
## the ls family ## the ls family
if test -x "$(command -v exa)"; then if test -x "$(command -v exa)"; then

View File

@ -1,6 +1,6 @@
# vim:set ft=zsh ai et sw=4 ts=4: # vim:set ft=zsh ai et sw=4 ts=4:
# #
# ~/.zsh/functions.zsh # ~/.zshrc.d/functions.zsh
## Do an ls after cd ## Do an ls after cd
cd() { builtin cd "$@" && ls; } cd() { builtin cd "$@" && ls; }

View File

@ -1,6 +1,6 @@
# vim:set ft=zsh ai et sw=4 ts=4: # vim:set ft=zsh ai et sw=4 ts=4:
# #
# ~/.zsh/fzf.zsh # ~/.zshrc.d/fzf.zsh
## default opts uses Catppuccin (mocha) color palette ## default opts uses Catppuccin (mocha) color palette
export FZF_DEFAULT_OPTS='--color=bg+:#302D41,bg:#1E1E2E,spinner:#F8BD96,hl:#F28FAD --color=fg:#D9E0EE,header:#F28FAD,info:#DDB6F2,pointer:#F8BD96 --color=marker:#F8BD96,fg+:#F2CDCD,prompt:#DDB6F2,hl+:#F28FAD' export FZF_DEFAULT_OPTS='--color=bg+:#302D41,bg:#1E1E2E,spinner:#F8BD96,hl:#F28FAD --color=fg:#D9E0EE,header:#F28FAD,info:#DDB6F2,pointer:#F8BD96 --color=marker:#F8BD96,fg+:#F2CDCD,prompt:#DDB6F2,hl+:#F28FAD'

View File

@ -1,6 +1,6 @@
# vim:set ft=zsh ai et sw=4 ts=4: # vim:set ft=zsh ai et sw=4 ts=4:
# #
# ~/.zsh/input.zsh # ~/.zshrc.d/input.zsh
$include /etc/inputrc $include /etc/inputrc
bindkey -v bindkey -v