diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-04-27 04:36:22 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-04-27 04:36:22 +0900 |
| commit | 61742fdbdd55cb383ddb3d5037659f50a751111e (patch) | |
| tree | 6aca4bd435072f5363b3370b135c81f927a9d978 | |
| parent | 19a7ae33ac01e93bb28d171f8062154fc587d2ee (diff) | |
| download | dotfiles-61742fdbdd55cb383ddb3d5037659f50a751111e.tar.gz dotfiles-61742fdbdd55cb383ddb3d5037659f50a751111e.tar.zst dotfiles-61742fdbdd55cb383ddb3d5037659f50a751111e.zip | |
git: move location of git-* binaries
| -rw-r--r-- | .config/git/config | 2 | ||||
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | mitamae/default.rb | 18 |
3 files changed, 6 insertions, 15 deletions
diff --git a/.config/git/config b/.config/git/config index c82a726..d485275 100644 --- a/.config/git/config +++ b/.config/git/config @@ -94,7 +94,6 @@ fixup = commit --fixup amend = commit --amend --no-edit clone1 = clone --depth=1 - sw = "!~/bin/gitalias/git-sw" swc = switch -c swm = "!__fn() { \ if git rev-parse --verify --quiet main > /dev/null 2>&1; then \ @@ -177,7 +176,6 @@ fi; \ }; __fn" setup-hooks = "!cp ~/dotfiles/githooks/* \"$(git rev-parse --show-toplevel)/.git/hooks\"" - extract-issue = "!~/bin/gitalias/git-extract-issue" init-empty = "!__fn() { \ if [ \"$1\" = \"\" ]; then \ echo \"usage: git init-empty <user>\" >&2; \ @@ -1,4 +1,3 @@ /.bootstrap /.config/alacritty/alacritty.local.toml -/bin/gitalias/git-* /nvim-startup.log diff --git a/mitamae/default.rb b/mitamae/default.rb index 16de368..0ae7610 100644 --- a/mitamae/default.rb +++ b/mitamae/default.rb @@ -47,24 +47,18 @@ link "#{home}/.config/nvim" do to "#{home}/dotfiles/.config/nvim" end +directory "#{home}/bin" + # Go execute "go" do - command "go build -o bin/gitalias/git-extract-issue src/gitalias/git-extract-issue.go" - not_if "test -f bin/gitalias/git-extract-issue" + command "go build -o #{home}/bin/git-extract-issue src/gitalias/git-extract-issue.go" + not_if "test -f #{home}/bin/git-extract-issue" end execute "go" do - command "go build -o bin/gitalias/git-sw src/gitalias/git-sw.go" - not_if "test -f bin/gitalias/git-sw" + command "go build -o #{home}/bin/git-sw src/gitalias/git-sw.go" + not_if "test -f #{home}/bin/git-sw" end -directory "#{home}/bin/gitalias" - -link "#{home}/bin/gitalias/git-extract-issue" do - to "#{home}/dotfiles/bin/gitalias/git-extract-issue" -end -link "#{home}/bin/gitalias/git-sw" do - to "#{home}/dotfiles/bin/gitalias/git-sw" -end link "#{home}/bin/tmux-pane-idx" do to "#{home}/dotfiles/bin/tmux-pane-idx" end |
