diff --git a/fish/dot-config/fish/config.fish b/fish/dot-config/fish/config.fish index 6a7017f..a95da1d 100644 --- a/fish/dot-config/fish/config.fish +++ b/fish/dot-config/fish/config.fish @@ -4,7 +4,7 @@ alias exa="exa --group-directories-first" alias newkey="gpg-connect-agent \"scd serialno\" \"learn --force\" /bye" alias usepodman="set -x -g DOCKER_HOST unix://(podman info --format '{{.Host.RemoteSocket.Path}}')" test "$TERM" = "xterm-kitty" && alias ssh="kitty +kitten ssh" -# test "$TERM_PROGRAM" = "WezTerm" && alias ssh="wezterm ssh" +test "$TERM_PROGRAM" = "WezTerm" && alias ssh="wezterm ssh" abbr vim nvim abbr ls exa abbr ll exa -lh @@ -14,7 +14,7 @@ abbr gc git commit abbr gap git add -p abbr gps git push abbr gpl git pull -# test (command -v doas) && abbr sudo doas +test (command -v doas) && abbr sudo doas # Environment variables set -x -g RUSTUP_HOME $XDG_DATA_HOME/rustup @@ -23,5 +23,4 @@ set -x -g PATH $CARGO_HOME/bin $RUSTUP_HOME/bin $HOME/.local/bin $PATH test (command -v fnm) && fnm env | source test (command -v zoxide) && zoxide init fish | source -[ -e /opt/asdf-vm/asdf.fish ] && source /opt/asdf-vm/asdf.fish -[ -e "$HOME/.asdf" ] && source $HOME/.asdf/asdf.fish +test -e /opt/asdf-vm/asdf.fish && source /opt/asdf-vm/asdf.fish diff --git a/nvim/dot-config/nvim/after/plugin/telescope.lua b/nvim/dot-config/nvim/after/plugin/telescope.lua index 8c2faea..d64b217 100644 --- a/nvim/dot-config/nvim/after/plugin/telescope.lua +++ b/nvim/dot-config/nvim/after/plugin/telescope.lua @@ -24,13 +24,13 @@ local function project() } local find_command = nil - if FD_EXISTS == 1 then + if FD_EXISTS then find_command = { "fd", "--hidden", "-t", "f" } for _, value in ipairs(exclusions) do table.insert(find_command, "--exclude") table.insert(find_command, value) end - elseif RIPGREP_EXISTS == 1 then + elseif RIPGREP_EXISTS then find_command = { "rg", "--files", "--hidden", "--glob", "!**/.git/*" } end diff --git a/wezterm/dot-config/wezterm/wezterm.lua b/wezterm/dot-config/wezterm/wezterm.lua index 0033877..5dcde3b 100644 --- a/wezterm/dot-config/wezterm/wezterm.lua +++ b/wezterm/dot-config/wezterm/wezterm.lua @@ -7,8 +7,8 @@ return { color_scheme = 'Catppuccin Mocha', window_background_opacity = 0.9, max_fps = 165, - -- front_end = "WebGpu", - -- webgpu_power_preference = "HighPerformance", + front_end = "WebGpu", + webgpu_power_preference = "HighPerformance", initial_cols = 160, initial_rows = 48, window_padding = {