1
0

Compare commits

...

5 Commits

Author SHA1 Message Date
Karsten Hachmeister
1a5315038d cleanup 2025-02-07 10:20:11 +01:00
Karsten Hachmeister
aec19ab17b add env var SSH_AUTH_SOCK if not set 2025-02-07 10:19:03 +01:00
Karsten Hachmeister
63b2427d62 use viddy as watch command when available 2025-02-07 10:17:13 +01:00
Karsten Hachmeister
bd1ab3ed07 update alias for helix command 2025-02-07 10:14:03 +01:00
Karsten Hachmeister
03ae3b7bb8 add completion for avp command 2025-02-07 10:13:05 +01:00
2 changed files with 25 additions and 3 deletions

View File

@@ -2,11 +2,17 @@ if status is-interactive
fish_add_path ~/.cargo/bin
fish_add_path ~/.local/bin
# atuin
if command -q atuin
atuin init fish --disable-up-arrow | source
atuin gen-completions --shell fish | source
end
# avp
if command -q avp
avp completion fish | source
end
# bat
if command -q bat
alias cat="bat -pp"
@@ -20,7 +26,7 @@ if status is-interactive
alias l="ls -l"
alias ll="ls -la"
# fd
if command -q fdfind
alias fd="fdfind"
@@ -35,12 +41,18 @@ if status is-interactive
# hx
if command -q hx
alias edit="hx"
else if command -q helix
alias edit="helix"
end
# kubectl
if command -q kubectl
alias k="kubectl"
alias wk="watch -c kubectl"
if command -q viddy
alias wk="viddy kubectl"
else
alias wk="watch -c kubectl"
end
complete -c k -w kubectl
complete -c wk -w kubectl
end
@@ -55,12 +67,17 @@ if status is-interactive
if command -q rgit
complete -c rgit -w git
end
# starship
if command -q starship
starship init fish | source
end
# viddy
if command -q viddy
alias watch="viddy"
end
# zoxide
if command -q zoxide
zoxide init fish | source

View File

@@ -57,5 +57,10 @@ export MAKEFLAGS="-j$(nproc --all)"
export PGHOST=localhost
export PGUSER=knmav
# SSH Agent
if [[ -z "${SSH_AUTH_SOCK}" ]] ; then
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"
fi
# Opt out from .NET CLI Tools telemetry
DOTNET_CLI_TELEMETRY_OPTOUT=1