···2020 };
21212222 functions = {
2323- e = "$EDITOR $argv";
2423 p = ''
2525- function p
2626- if test (count $argv) -gt 0 && test -f $argv[1] || not isatty
2727- bat $argv
2828- else
2929- ls -Alh $argv
3030- end
2424+ if test (count $argv) -gt 0 && test -f $argv[1] || not isatty
2525+ bat $argv
2626+ else
2727+ ls -Alh $argv
3128 end
3229 '';
3330 ix = "curl --netrc-optional -F 'f:1=@-' ix.io | pbcopy";
···58555956 set -gx SSH_AUTH_SOCK ~/.local/share/1password/auth.sock
60576161- source (${pkgs.direnv}/bin/direnv hook fish | psub)
6258 source (${pkgs.lima}/bin/limactl completion fish | psub)
6359 source $HOME/.op/plugins.sh
6460
+10-2
modules/git.nix
···22 programs.gh = {
33 enable = true;
4455+ extensions = with pkgs; [
66+ gh-dash
77+ gh-eco
88+ gh-actions-cache
99+ ];
1010+511 settings.aliases.co = "pr checkout";
612 };
713814 home.packages = with pkgs; [
1515+ git-absorb
1616+ git-branchless
917 git-gone
1018 git-revise
1119 gitAndTools.git-imerge
···4654 b = "branch";
4755 ca = "commit --amend";
4856 ci = "commit";
5757+ co = "checkout";
4958 rci = "commit --amend --reuse-message HEAD";
50595160 lg = "log --color --graph --abbrev-commit --pretty=simple-oneline";
52615353- squash = "rebase --interactive --autosquash @{upstream}";
5454- update = "!git rebase -i \"$(git merge-base HEAD \"$(git default-branch)\")\"";
6262+ squash = "!git rebase -i \"$(git merge-base HEAD \"$(git default-branch)\")\"";
55635664 st = "status -sb";
5765 todo = "grep -Ee '\\\\bTODO:?\\\\b'";