dotfiles

feat(fish): add extra function & options

+8
+1
fish/config.fish
··· 11 11 alias la="exa -lha --git --no-user" 12 12 alias nv="foreground_nvim" 13 13 alias gr="gh repo clone" 14 + alias glz="lazygit" 14 15 15 16 # Exported Variables 16 17 set -gx PATH ~/.local/bin $PATH
+7
fish/functions/ghpr.fish
··· 1 + # credit to https://github.com/helix-editor/helix/discussions/5883 2 + function ghpr 3 + GH_FORCE_TTY=100% gh pr list --limit 300 | \ 4 + fzf --ansi --preview 'GH_FORCE_TTY=100% gh pr view {1}' --preview-window 'down,70%' --header-lines 3 | \ 5 + awk '{print $1}' | \ 6 + xargs gh pr checkout 7 + end