summaryrefslogtreecommitdiff
path: root/switch
diff options
context:
space:
mode:
Diffstat (limited to 'switch')
-rwxr-xr-xswitch2
1 files changed, 1 insertions, 1 deletions
diff --git a/switch b/switch
index eafccaf..6f232e1 100755
--- a/switch
+++ b/switch
@@ -2,6 +2,6 @@
set -e
-cd "$(dirname "$($0)")"
+cd "$(dirname "$0")"
git pull
nixos-rebuild switch --flake .