aboutsummaryrefslogtreecommitdiff
path: root/config/zsh/aliases/dev.zsh
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2023-08-04 12:50:12 +0530
committerAkshay Nair <phenax5@gmail.com>2023-08-04 12:50:22 +0530
commit4eb5f01f1f7a11527be56bd8a8afecd31d640b15 (patch)
treee936f39df5036f0ba1928f662ea6f4deeee31fe4 /config/zsh/aliases/dev.zsh
parent43e9a80ddf11931c9bbad94262605951e7ff3d2a (diff)
downloadnixos-config-4eb5f01f1f7a11527be56bd8a8afecd31d640b15.tar.gz
nixos-config-4eb5f01f1f7a11527be56bd8a8afecd31d640b15.zip
config sync
Diffstat (limited to '')
-rw-r--r--config/zsh/aliases/dev.zsh4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/zsh/aliases/dev.zsh b/config/zsh/aliases/dev.zsh
index 793d823..4283a2d 100644
--- a/config/zsh/aliases/dev.zsh
+++ b/config/zsh/aliases/dev.zsh
@@ -88,5 +88,7 @@ p__enter_nixshell() {
zle -N p__enter_nixshell;
bindkey '^X' p__enter_nixshell;
-alias fix-interpreter="nix-shell -p patchelf --run 'patchelf --set-interpreter \$(patchelf --print-interpreter \$(which mkdir))'"
+fix-interpreter() {
+ nix-shell -p patchelf --run "patchelf --set-interpreter \$(patchelf --print-interpreter \$(which mkdir)) $@"
+}