This commit is contained in:
Nikos Papadakis 2023-06-15 10:44:03 +03:00
parent 7a5bbc1e40
commit ab4f9942e8
Signed by untrusted user who does not match committer: nikos
GPG key ID: 78871F9905ADFF02
3 changed files with 8 additions and 7 deletions

View file

@ -4,7 +4,7 @@ alias exa="exa --group-directories-first"
alias newkey="gpg-connect-agent \"scd serialno\" \"learn --force\" /bye" alias newkey="gpg-connect-agent \"scd serialno\" \"learn --force\" /bye"
alias usepodman="set -x -g DOCKER_HOST unix://(podman info --format '{{.Host.RemoteSocket.Path}}')" 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" = "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 vim nvim
abbr ls exa abbr ls exa
abbr ll exa -lh abbr ll exa -lh
@ -14,7 +14,7 @@ abbr gc git commit
abbr gap git add -p abbr gap git add -p
abbr gps git push abbr gps git push
abbr gpl git pull abbr gpl git pull
test (command -v doas) && abbr sudo doas # test (command -v doas) && abbr sudo doas
# Environment variables # Environment variables
set -x -g RUSTUP_HOME $XDG_DATA_HOME/rustup set -x -g RUSTUP_HOME $XDG_DATA_HOME/rustup
@ -23,4 +23,5 @@ set -x -g PATH $CARGO_HOME/bin $RUSTUP_HOME/bin $HOME/.local/bin $PATH
test (command -v fnm) && fnm env | source test (command -v fnm) && fnm env | source
test (command -v zoxide) && zoxide init fish | source test (command -v zoxide) && zoxide init fish | source
test -e /opt/asdf-vm/asdf.fish && source /opt/asdf-vm/asdf.fish [ -e /opt/asdf-vm/asdf.fish ] && source /opt/asdf-vm/asdf.fish
[ -e "$HOME/.asdf" ] && source $HOME/.asdf/asdf.fish

View file

@ -24,13 +24,13 @@ local function project()
} }
local find_command = nil local find_command = nil
if FD_EXISTS then if FD_EXISTS == 1 then
find_command = { "fd", "--hidden", "-t", "f" } find_command = { "fd", "--hidden", "-t", "f" }
for _, value in ipairs(exclusions) do for _, value in ipairs(exclusions) do
table.insert(find_command, "--exclude") table.insert(find_command, "--exclude")
table.insert(find_command, value) table.insert(find_command, value)
end end
elseif RIPGREP_EXISTS then elseif RIPGREP_EXISTS == 1 then
find_command = { "rg", "--files", "--hidden", "--glob", "!**/.git/*" } find_command = { "rg", "--files", "--hidden", "--glob", "!**/.git/*" }
end end

View file

@ -7,8 +7,8 @@ return {
color_scheme = 'Catppuccin Mocha', color_scheme = 'Catppuccin Mocha',
window_background_opacity = 0.9, window_background_opacity = 0.9,
max_fps = 165, max_fps = 165,
front_end = "WebGpu", -- front_end = "WebGpu",
webgpu_power_preference = "HighPerformance", -- webgpu_power_preference = "HighPerformance",
initial_cols = 160, initial_cols = 160,
initial_rows = 48, initial_rows = 48,
window_padding = { window_padding = {