Compare commits

..

No commits in common. "0f4914db9563408ba35c150217f6def000063ef6" and "2a56c04e177602aa51d9adb7bf2d59a8ec252685" have entirely different histories.

8 changed files with 12 additions and 15 deletions

View File

@ -123,7 +123,6 @@
(import ./overlays/neovim-plugins.nix inputs) (import ./overlays/neovim-plugins.nix inputs)
(import ./overlays/lib.nix) (import ./overlays/lib.nix)
(import ./overlays/calibre-web.nix) (import ./overlays/calibre-web.nix)
(import ./overlays/gh-cli.nix)
]; ];
# System types to support. # System types to support.

View File

@ -31,7 +31,7 @@ darwin.lib.darwinSystem {
neovim.enable = true; neovim.enable = true;
mail.enable = true; mail.enable = true;
mail.aerc.enable = true; mail.aerc.enable = true;
mail.himalaya.enable = false; mail.himalaya.enable = true;
kitty.enable = true; kitty.enable = true;
discord.enable = true; discord.enable = true;
firefox.enable = true; firefox.enable = true;

View File

@ -7,6 +7,7 @@
./firefox.nix ./firefox.nix
./kitty.nix ./kitty.nix
./media.nix ./media.nix
./nautilus.nix
./obsidian.nix ./obsidian.nix
./qbittorrent.nix ./qbittorrent.nix
./slack.nix ./slack.nix

View File

@ -0,0 +1,4 @@
set -l branch (git branch 2>/dev/null | grep '^\*' | colrm 1 2)
and set -l command "git push --set-upstream origin $branch"
and commandline -r $command
and commandline -f execute

View File

@ -51,6 +51,7 @@ in {
gcae = "git commit --amend"; gcae = "git commit --amend";
gu = "git pull"; gu = "git pull";
gp = "git push"; gp = "git push";
gpp = "git-push-upstream";
gl = "git log --graph --decorate --oneline -20"; gl = "git log --graph --decorate --oneline -20";
gll = "git log --graph --decorate --oneline"; gll = "git log --graph --decorate --oneline";
gco = "git checkout"; gco = "git checkout";
@ -113,6 +114,10 @@ in {
git-history = { git-history = {
body = builtins.readFile ./fish/functions/git-history.fish; body = builtins.readFile ./fish/functions/git-history.fish;
}; };
git-push-upstream = {
description = "Create upstream branch";
body = builtins.readFile ./fish/functions/git-push-upstream.fish;
};
uncommitted = { uncommitted = {
description = "Find uncommitted git repos"; description = "Find uncommitted git repos";
body = builtins.readFile ./fish/functions/uncommitted.fish; body = builtins.readFile ./fish/functions/uncommitted.fish;

View File

@ -1,5 +1,5 @@
{ ... }: { { ... }: {
imports = [ ./calibre.nix ./nautilus.nix ]; imports = [ ./calibre.nix ];
} }

View File

@ -1,12 +0,0 @@
# Testing: https://github.com/cli/cli/issues/5011#issuecomment-1576931518
_final: prev: {
gh = prev.gh.overrideAttrs (old: {
src = prev.fetchFromGitHub {
owner = "cli";
repo = "cli";
rev = "420f63c3ec660d27182b713bd18459e7376f0a7a";
sha256 = "sha256-ik4YCQBTr9637dofrh/AcgoOBa8Bx9F+brUMpC8u5U8=";
};
});
}