diff options
| author | Akshay Nair <phenax5@gmail.com> | 2023-08-04 12:50:12 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2023-08-04 12:50:22 +0530 |
| commit | 4eb5f01f1f7a11527be56bd8a8afecd31d640b15 (patch) | |
| tree | e936f39df5036f0ba1928f662ea6f4deeee31fe4 /config/zsh | |
| parent | 43e9a80ddf11931c9bbad94262605951e7ff3d2a (diff) | |
| download | nixos-config-4eb5f01f1f7a11527be56bd8a8afecd31d640b15.tar.gz nixos-config-4eb5f01f1f7a11527be56bd8a8afecd31d640b15.zip | |
config sync
Diffstat (limited to 'config/zsh')
| -rw-r--r-- | config/zsh/aliases/dev.zsh | 4 |
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)) $@" +} |
