AutoYADM commit: 2025-03-22 17:15:07
This commit is contained in:
parent
0647f1db10
commit
687f84587f
4 changed files with 38 additions and 10 deletions
6
.config/pet/snippet.toml
Normal file
6
.config/pet/snippet.toml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
|
||||||
|
[[Snippets]]
|
||||||
|
Description = "print the classic message"
|
||||||
|
Output = ""
|
||||||
|
Tag = []
|
||||||
|
command = "echo Hello world!"
|
|
@ -56,3 +56,4 @@
|
||||||
.mbsyncrc
|
.mbsyncrc
|
||||||
.config/mail
|
.config/mail
|
||||||
.zsh
|
.zsh
|
||||||
|
.config/pet/snippet.toml
|
||||||
|
|
|
@ -26,6 +26,15 @@ export FZF_DEFAULT_OPTS="
|
||||||
--color=query:#d5d5d5
|
--color=query:#d5d5d5
|
||||||
--color=gutter:#121212"
|
--color=gutter:#121212"
|
||||||
|
|
||||||
|
export FZF_CTRL_R_OPTS="
|
||||||
|
--reverse
|
||||||
|
--cycle
|
||||||
|
--info=right
|
||||||
|
--color header:italic
|
||||||
|
--header 'alt+s (pet new)'
|
||||||
|
--preview 'echo {}' --preview-window down:3:hidden:wrap
|
||||||
|
--bind '?:toggle-preview'
|
||||||
|
--bind 'alt-s:execute(pet new --tag {2..})+abort'"
|
||||||
|
|
||||||
export FZF_TMUX_OPTS=" -p90%,70% "
|
export FZF_TMUX_OPTS=" -p90%,70% "
|
||||||
|
|
||||||
|
|
32
.zshrc
32
.zshrc
|
@ -45,6 +45,16 @@ bindkey "^b" backward-word
|
||||||
bindkey "^d" backward-kill-word
|
bindkey "^d" backward-kill-word
|
||||||
bindkey "^w" forward-word
|
bindkey "^w" forward-word
|
||||||
|
|
||||||
|
function pet-select() {
|
||||||
|
BUFFER=$(pet search --query "$LBUFFER")
|
||||||
|
CURSOR=$#BUFFER
|
||||||
|
zle redisplay
|
||||||
|
}
|
||||||
|
zle -N pet-select
|
||||||
|
stty -ixon
|
||||||
|
bindkey '^s' pet-select
|
||||||
|
|
||||||
|
|
||||||
# autoload -Uz compinit
|
# autoload -Uz compinit
|
||||||
# compinit
|
# compinit
|
||||||
|
|
||||||
|
@ -78,15 +88,15 @@ alias mktdir='cd $(mktemp -d)'
|
||||||
alias lg=lazygit
|
alias lg=lazygit
|
||||||
alias ylg="yadm enter lazygit"
|
alias ylg="yadm enter lazygit"
|
||||||
# tmux aliases
|
# tmux aliases
|
||||||
alias tmuxclean="tmux -L test -f /dev/null"
|
# alias tmuxclean="tmux -L test -f /dev/null"
|
||||||
alias tm="tmux"
|
# alias tm="tmux"
|
||||||
alias ta="tmux attach-session"
|
# alias ta="tmux attach-session"
|
||||||
alias tat="tmux attach-session -t"
|
# alias tat="tmux attach-session -t"
|
||||||
alias tka="tmux kill-session -a"
|
# alias tka="tmux kill-session -a"
|
||||||
alias tkt="tmux kill-session -t"
|
# alias tkt="tmux kill-session -t"
|
||||||
alias tl="tmux list-sessions"
|
# alias tl="tmux list-sessions"
|
||||||
alias tn="tmux new-session"
|
# alias tn="tmux new-session"
|
||||||
alias tnt="tmux new-session -t"
|
# alias tnt="tmux new-session -t"
|
||||||
|
|
||||||
# alias zj=zellij
|
# alias zj=zellij
|
||||||
# alias yeet="yay -Rns"
|
# alias yeet="yay -Rns"
|
||||||
|
@ -201,7 +211,7 @@ eval $(thefuck --alias)
|
||||||
eval "$(starship init zsh)"
|
eval "$(starship init zsh)"
|
||||||
eval "$(zoxide init zsh)"
|
eval "$(zoxide init zsh)"
|
||||||
eval "$(rip completions zsh)"
|
eval "$(rip completions zsh)"
|
||||||
export DIRENV_LOG_FORMAT=""
|
# export DIRENV_LOG_FORMAT=""
|
||||||
export GPG_TTY=$(tty)
|
export GPG_TTY=$(tty)
|
||||||
gpg-connect-agent updatestartuptty /bye >/dev/null
|
gpg-connect-agent updatestartuptty /bye >/dev/null
|
||||||
# gpg-connect-agent updatestartuptty /bye >/dev/null
|
# gpg-connect-agent updatestartuptty /bye >/dev/null
|
||||||
|
@ -210,4 +220,6 @@ gpg-connect-agent updatestartuptty /bye >/dev/null
|
||||||
eval "$(direnv hook zsh)"
|
eval "$(direnv hook zsh)"
|
||||||
# colorscript -e 36
|
# colorscript -e 36
|
||||||
# source ~/scripts/obsidian-bridge.sh
|
# source ~/scripts/obsidian-bridge.sh
|
||||||
|
PET_GITHUB_ACCESS_TOKEN=$(pass show github/gist)
|
||||||
|
export PET_GITHUB_ACCESS_TOKEN
|
||||||
source <(cdhist -i)
|
source <(cdhist -i)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue