aboutsummaryrefslogtreecommitdiff
path: root/config/zsh/aliases
diff options
context:
space:
mode:
Diffstat (limited to 'config/zsh/aliases')
-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)) $@"
+}