Void Linux workstation powered by niri, Fish and NeoVim. Contains scripts, browser extensions, custom XBPS packages, and typst plugins. git.anhgelus.world/anhgelus/dotfiles
void niri fish neovim nvim vim dotfiles linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat(fish): cli utils

+39 -34
+7
config/fish/completions/fisher.fish
··· 1 + complete --command fisher --exclusive --long help --description "Print help" 2 + complete --command fisher --exclusive --long version --description "Print version" 3 + complete --command fisher --exclusive --condition __fish_use_subcommand --arguments install --description "Install plugins" 4 + complete --command fisher --exclusive --condition __fish_use_subcommand --arguments update --description "Update installed plugins" 5 + complete --command fisher --exclusive --condition __fish_use_subcommand --arguments remove --description "Remove installed plugins" 6 + complete --command fisher --exclusive --condition __fish_use_subcommand --arguments list --description "List installed plugins matching regex" 7 + complete --command fisher --exclusive --condition "__fish_seen_subcommand_from update remove" --arguments "(fisher list)"
+8
config/fish/completions/fzf_configure_bindings.fish
··· 1 + complete fzf_configure_bindings --no-files 2 + complete fzf_configure_bindings --long help --short h --description "Print help" --condition "not __fish_seen_argument --help -h" 3 + complete fzf_configure_bindings --long directory --description "Change the key binding for Search Directory" --condition "not __fish_seen_argument --directory" 4 + complete fzf_configure_bindings --long git_log --description "Change the key binding for Search Git Log" --condition "not __fish_seen_argument --git_log" 5 + complete fzf_configure_bindings --long git_status --description "Change the key binding for Search Git Status" --condition "not __fish_seen_argument --git_status" 6 + complete fzf_configure_bindings --long history --description "Change the key binding for Search History" --condition "not __fish_seen_argument --history" 7 + complete fzf_configure_bindings --long processes --description "Change the key binding for Search Processes" --condition "not __fish_seen_argument --processes" 8 + complete fzf_configure_bindings --long variables --description "Change the key binding for Search Variables" --condition "not __fish_seen_argument --variables"
+18
config/fish/config.fish
··· 40 40 41 41 # gpg 42 42 export GPG_TTY=$(tty) 43 + 44 + # other 45 + set -gx EDITOR "nvim" 46 + 47 + fzf_configure_bindings --directory=\cf --git_log=\cg --git_status=\cs 48 + 49 + # yazi 50 + function y 51 + set tmp (mktemp -t "yazi-cwd.XXXXXX") 52 + yazi $argv --cwd-file="$tmp" 53 + if read -z cwd < "$tmp"; and [ -n "$cwd" ]; and [ "$cwd" != "$PWD" ] 54 + builtin cd -- "$cwd" 55 + end 56 + rm -f -- "$tmp" 57 + end 58 + 59 + # alias 60 + alias ll "eza -lha --icons=auto --sort=name --group-directories-first"
+2
config/fish/fish_plugins
··· 1 + jorgebucaran/fisher 2 + patrickf1/fzf.fish
+4
config/fish/fish_variables
··· 1 1 # This file contains fish universal variable definitions. 2 2 # VERSION: 3.0 3 3 SETUVAR __fish_initialized:3800 4 + SETUVAR _fisher_jorgebucaran_2F_fisher_files:\x7e/\x2econfig/fish/functions/fisher\x2efish\x1e\x7e/\x2econfig/fish/completions/fisher\x2efish 5 + SETUVAR _fisher_patrickf1_2F_fzf_2E_fish_files:\x7e/\x2econfig/fish/functions/_fzf_configure_bindings_help\x2efish\x1e\x7e/\x2econfig/fish/functions/_fzf_extract_var_info\x2efish\x1e\x7e/\x2econfig/fish/functions/_fzf_preview_changed_file\x2efish\x1e\x7e/\x2econfig/fish/functions/_fzf_preview_file\x2efish\x1e\x7e/\x2econfig/fish/functions/_fzf_report_diff_type\x2efish\x1e\x7e/\x2econfig/fish/functions/_fzf_report_file_type\x2efish\x1e\x7e/\x2econfig/fish/functions/_fzf_search_directory\x2efish\x1e\x7e/\x2econfig/fish/functions/_fzf_search_git_log\x2efish\x1e\x7e/\x2econfig/fish/functions/_fzf_search_git_status\x2efish\x1e\x7e/\x2econfig/fish/functions/_fzf_search_history\x2efish\x1e\x7e/\x2econfig/fish/functions/_fzf_search_processes\x2efish\x1e\x7e/\x2econfig/fish/functions/_fzf_search_variables\x2efish\x1e\x7e/\x2econfig/fish/functions/_fzf_wrapper\x2efish\x1e\x7e/\x2econfig/fish/functions/fzf_configure_bindings\x2efish\x1e\x7e/\x2econfig/fish/conf\x2ed/fzf\x2efish\x1e\x7e/\x2econfig/fish/completions/fzf_configure_bindings\x2efish 6 + SETUVAR _fisher_plugins:jorgebucaran/fisher\x1epatrickf1/fzf\x2efish 7 + SETUVAR _fisher_upgraded_to_4_4:\x1d 4 8 SETUVAR fish_color_autosuggestion:brblack 5 9 SETUVAR fish_color_cancel:\x2dr 6 10 SETUVAR fish_color_command:normal
-34
config/fish/functions/fish_prompt.fish
··· 1 - # name: Default 2 - # author: Lily Ballard 3 - 4 - function fish_prompt --description 'Write out the prompt' 5 - set -l last_pipestatus $pipestatus 6 - set -lx __fish_last_status $status # Export for __fish_print_pipestatus. 7 - set -l normal (set_color normal) 8 - set -q fish_color_status 9 - or set -g fish_color_status red 10 - 11 - # Color the prompt differently when we're root 12 - set -l color_cwd "#ffd6ff" 13 - set -l suffix '>' 14 - if functions -q fish_is_root_user; and fish_is_root_user 15 - if set -q fish_color_cwd_root 16 - set color_cwd $fish_color_cwd_root 17 - end 18 - set suffix '#' 19 - end 20 - 21 - # Write pipestatus 22 - # If the status was carried over (if no command is issued or if `set` leaves the status untouched), don't bold it. 23 - set -l bold_flag --bold 24 - set -q __fish_prompt_status_generation; or set -g __fish_prompt_status_generation $status_generation 25 - if test $__fish_prompt_status_generation = $status_generation 26 - set bold_flag 27 - end 28 - set __fish_prompt_status_generation $status_generation 29 - set -l status_color (set_color $fish_color_status) 30 - set -l statusb_color (set_color $bold_flag $fish_color_status) 31 - set -l prompt_status (__fish_print_pipestatus "[" "]" "|" "$status_color" "$statusb_color" $last_pipestatus) 32 - 33 - echo -n -s (prompt_login)' ' (set_color $color_cwd) (prompt_pwd) $normal (fish_vcs_prompt) $normal " "$prompt_status $suffix " " 34 - end