Skip to content

Commit

Permalink
chore: Remove non-functional part of fish alias
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjones2014 committed Dec 15, 2024
1 parent a45be8f commit f6ebb5e
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions home-manager/modules/fish.nix
Original file line number Diff line number Diff line change
Expand Up @@ -89,20 +89,6 @@
description =
"Apply latest Nix configuration; checks if you need to do a git pull first";
body = ''
argparse --name nix-apply 'o/offline' -- $argv
or return 1
pushd ~/git/dotfiles
if not set _flag_offline
echo "syncing with remote..."
git fetch > /dev/null && echo "" || return 1
set -l gitstatus $(git log HEAD..origin/$(git branch --show-current))
if "$gitstatus" != ""
echo "Run `git pull` in ~/git/dotfiles first"
return 1
end
end
popd
${if isDarwin then
"home-manager switch --flake ~/git/dotfiles/.#mac"
else if isServer then
Expand Down

0 comments on commit f6ebb5e

Please sign in to comment.