Skip to content

Commit

Permalink
Update .config/zsh-abbr/user-abbreviations
Browse files Browse the repository at this point in the history
Update .zshrc
  • Loading branch information
Hyuga-Tsukui committed Oct 2, 2024
1 parent f2d7923 commit 942d298
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions dot_config/zsh-abbr/private_user-abbreviations
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
abbr "cz"="chezmoi"
abbr "tf"="terraform"
abbr "n"="nvim"
5 changes: 5 additions & 0 deletions dot_zshrc.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ export FZF_DEFAULT_OPTS='--height 40% --reverse --border --inline-info'
# Setting fd as the default source for fzf
export FZF_DEFAULT_COMMAND='fd --type f --strip-cwd-prefix'

export FZF_CTRL_T_OPTS="
--walker-skip .git,node_modules,target
--preview 'bat -n --color=always {}'
--bind 'ctrl-/:change-preview-window(down|hidden|)'"

# To apply the command to CTRL-T as well
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"

Expand Down

0 comments on commit 942d298

Please sign in to comment.