feat: Updates to zshrc and ansible config.

This commit is contained in:
2024-12-02 08:19:59 -05:00
parent b1633707c2
commit c8e869c853
3 changed files with 19 additions and 19 deletions

View File

@@ -161,7 +161,7 @@ home=~/.config/ansible
;bin_ansible_callbacks=False ;bin_ansible_callbacks=False
# (tmppath) Temporary directory for Ansible to use on the controller. # (tmppath) Temporary directory for Ansible to use on the controller.
local_tmp=~/.local/ansible/tmp local_tmp=~/.local/share/ansible/tmp
# (list) List of logger names to filter out of the log file # (list) List of logger names to filter out of the log file
;log_filter= ;log_filter=
@@ -274,7 +274,7 @@ vault_identity=michael
# (path) The vault password file to use. Equivalent to --vault-password-file or --vault-id # (path) The vault password file to use. Equivalent to --vault-password-file or --vault-id
# If executable, it will be run and the resulting stdout will be used as the password. # If executable, it will be run and the resulting stdout will be used as the password.
vault_password_file=~/.local/share/scripts/vault-gopass vault_password_file=~/.local/share/scripts/vault-gopass-client
# (integer) Sets the default verbosity, equivalent to the number of ``-v`` passed in the command line. # (integer) Sets the default verbosity, equivalent to the number of ``-v`` passed in the command line.
;verbosity=0 ;verbosity=0

View File

@@ -1,4 +1,4 @@
local wezterm = require('wezterm') local wezterm = require("wezterm")
local config = {} local config = {}
if wezterm.config_builder then if wezterm.config_builder then
@@ -12,14 +12,13 @@ end
-- background = "#131111" -- background = "#131111"
-- } -- }
config.color_scheme = 'Catppuccin Mocha' config.color_scheme = "Catppuccin Mocha"
-- Font -- Font
config.font = wezterm.font_with_fallback { config.font = wezterm.font_with_fallback({
'JetBrains Mono', "JetBrains Mono",
'Inconsolata Nerd Font Mono', "Inconsolata Nerd Font Mono",
} })
config.font_size = 16.0 config.font_size = 16.0
-- Window -- Window
@@ -28,12 +27,12 @@ config.enable_scroll_bar = false
config.initial_cols = 150 config.initial_cols = 150
config.initial_rows = 80 config.initial_rows = 80
config.window_padding = { config.window_padding = {
left = 5, left = 10,
right = 5, right = 5,
top = 0, top = 0,
bottom = 0 bottom = 0,
} }
config.window_close_confirmation = 'NeverPrompt' config.window_close_confirmation = "NeverPrompt"
--config.window_decorations = 'TITLE' --config.window_decorations = 'TITLE'
-- Tab Bar -- Tab Bar

View File

@@ -124,9 +124,6 @@ zsh_add_plugin "zsh-users/zsh-autosuggestions"
zsh_add_plugin "zsh-users/zsh-syntax-highlighting" zsh_add_plugin "zsh-users/zsh-syntax-highlighting"
zsh_add_plugin "Aloxaf/fzf-tab" zsh_add_plugin "Aloxaf/fzf-tab"
# Use fzf in history / search contexts.
eval "$(fzf --zsh)"
#------------------------------ completions ------------------------------ #------------------------------ completions ------------------------------
# case insensitive path-completion # case insensitive path-completion
zstyle ':completion:*' matcher-list 'm:{[:lower:][:upper:]}={[:upper:][:lower:]}' 'm:{[:lower:][:upper:]}={[:upper:][:lower:]} l:|=* r:|=*' 'm:{[:lower:][:upper:]}={[:upper:][:lower:]} l:|=* r:|=*' 'm:{[:lower:][:upper:]}={[:upper:][:lower:]} l:|=* r:|=*' zstyle ':completion:*' matcher-list 'm:{[:lower:][:upper:]}={[:upper:][:lower:]}' 'm:{[:lower:][:upper:]}={[:upper:][:lower:]} l:|=* r:|=*' 'm:{[:lower:][:upper:]}={[:upper:][:lower:]} l:|=* r:|=*' 'm:{[:lower:][:upper:]}={[:upper:][:lower:]} l:|=* r:|=*'
@@ -202,6 +199,10 @@ alias nvim-kickstart='NVIM_APPNAME=kickstart nvim' # set neovim to use kickst
alias nvim-lazy='NVIM_APPNAME=lazy nvim' # set neovim to use lazy config. alias nvim-lazy='NVIM_APPNAME=lazy nvim' # set neovim to use lazy config.
alias wget="wget --hsts-file=$XDG_DATA_HOME/wget-hsts" # set wget history location. alias wget="wget --hsts-file=$XDG_DATA_HOME/wget-hsts" # set wget history location.
# NOTE: This needs to stay near the bottom, or it doesn't work properly.
# Use fzf in history / search contexts.
source <(fzf --zsh)
#------------------------------ local configs ------------------------------ #------------------------------ local configs ------------------------------
# TODO: The .zshrc-local is a legacy location and should be removed once my machines are # TODO: The .zshrc-local is a legacy location and should be removed once my machines are