Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1a5315038d | |||
| aec19ab17b | |||
| 63b2427d62 | |||
| bd1ab3ed07 | |||
| 03ae3b7bb8 |
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user