diff --git a/home/fish.nix b/home/fish.nix index e530158..ac93b2f 100644 --- a/home/fish.nix +++ b/home/fish.nix @@ -3,7 +3,7 @@ programs.fish = { enable = true; shellAliases = { - "please" = "sudo $(fc -ln -1)"; + "please" = "sudo $history[1]"; "amend" = "git commit --amend"; "commit" = "git commit"; "add" = "git add .";