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 ~/.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"
|
||||
@@ -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"
|
||||
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
|
||||
@@ -61,6 +73,11 @@ if status is-interactive
|
||||
starship init fish | source
|
||||
end
|
||||
|
||||
# viddy
|
||||
if command -q viddy
|
||||
alias watch="viddy"
|
||||
end
|
||||
|
||||
# zoxide
|
||||
if command -q zoxide
|
||||
zoxide init fish | source
|
||||
|
||||
Reference in New Issue
Block a user