mirror of
https://github.com/prdlk/dotfiles.git
synced 2026-11-02 11:32:42 +00:00
config(fish): add fish completions for cli tools
This commit is contained in:
1 parent
b1fb6ee6fb
commit
7db95c2076
48 files changed
+2241
No files matched your search
@@ -0,0 +1,36 @@
|
||||
# Config is split into autoloaded files (see `man fish` → Configuration files):
|
||||
# conf.d/00-path.fish PATH entries
|
||||
# conf.d/10-env.fish environment + fish_greeting + fzf theme
|
||||
# conf.d/20-aliases.fish aliases
|
||||
# conf.d/40-tools.fish starship / zoxide / mise / hishtory init
|
||||
# conf.d/50-terminal-title.fish tmux window title
|
||||
# conf.d/secrets.fish API keys (gitignored)
|
||||
# functions/ one autoloaded function per file
|
||||
# functions/fish_user_key_bindings.fish key bindings
|
||||
#
|
||||
# Nothing needs to live here; keep it empty so startup stays fast.
|
||||
|
||||
function starship_transient_prompt_func
|
||||
starship module character
|
||||
end
|
||||
|
||||
function starship_transient_rprompt_func
|
||||
starship module time
|
||||
end
|
||||
|
||||
starship init fish | source
|
||||
enable_transience
|
||||
|
||||
# Pin the prompt to the bottom of the terminal (FISH_BOTTOM_PROMPT=1, the
|
||||
# default from conf.d/10-env.fish; set 0 for the normal top prompt).
|
||||
# functions/clear.fish and the ctrl-l binding re-pin it after clearing.
|
||||
status is-interactive; and test "$FISH_BOTTOM_PROMPT" = 1; and tput cup $LINES 0
|
||||
|
||||
# >>> grok installer >>>
|
||||
fish_add_path $HOME/.grok/bin
|
||||
# <<< grok installer <<<
|
||||
|
||||
|
||||
if status is-interactive
|
||||
atuin init fish | source
|
||||
end
|
||||
Reference in new issue
Block a user