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 ~/.cargo/bin
fish_add_path ~/.local/bin fish_add_path ~/.local/bin
# atuin
if command -q atuin if command -q atuin
atuin init fish --disable-up-arrow | source atuin init fish --disable-up-arrow | source
atuin gen-completions --shell fish | source atuin gen-completions --shell fish | source
end end
# avp
if command -q avp
avp completion fish | source
end
# bat # bat
if command -q bat if command -q bat
alias cat="bat -pp" alias cat="bat -pp"
@@ -35,12 +41,18 @@ if status is-interactive
# hx # hx
if command -q hx if command -q hx
alias edit="hx" alias edit="hx"
else if command -q helix
alias edit="helix"
end end
# kubectl # kubectl
if command -q kubectl if command -q kubectl
alias k="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 k -w kubectl
complete -c wk -w kubectl complete -c wk -w kubectl
end end
@@ -61,6 +73,11 @@ if status is-interactive
starship init fish | source starship init fish | source
end end
# viddy
if command -q viddy
alias watch="viddy"
end
# zoxide # zoxide
if command -q zoxide if command -q zoxide
zoxide init fish | source zoxide init fish | source

View File

@@ -57,5 +57,10 @@ export MAKEFLAGS="-j$(nproc --all)"
export PGHOST=localhost export PGHOST=localhost
export PGUSER=knmav 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 # Opt out from .NET CLI Tools telemetry
DOTNET_CLI_TELEMETRY_OPTOUT=1 DOTNET_CLI_TELEMETRY_OPTOUT=1