Compare commits
5 Commits
6be443c8e3
...
1a5315038d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1a5315038d | ||
|
|
aec19ab17b | ||
|
|
63b2427d62 | ||
|
|
bd1ab3ed07 | ||
|
|
03ae3b7bb8 |
@@ -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"
|
||||||
@@ -20,7 +26,7 @@ if status is-interactive
|
|||||||
|
|
||||||
alias l="ls -l"
|
alias l="ls -l"
|
||||||
alias ll="ls -la"
|
alias ll="ls -la"
|
||||||
|
|
||||||
# fd
|
# fd
|
||||||
if command -q fdfind
|
if command -q fdfind
|
||||||
alias fd="fdfind"
|
alias fd="fdfind"
|
||||||
@@ -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
|
||||||
@@ -55,12 +67,17 @@ if status is-interactive
|
|||||||
if command -q rgit
|
if command -q rgit
|
||||||
complete -c rgit -w git
|
complete -c rgit -w git
|
||||||
end
|
end
|
||||||
|
|
||||||
# starship
|
# starship
|
||||||
if command -q starship
|
if command -q starship
|
||||||
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
|
||||||
|
|||||||
5
.profile
5
.profile
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user