From 21a9119dc7ad771777345c041533de29f12d6757 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sun, 15 Oct 2023 00:51:31 +0530 Subject: zsh config changes --- config/zsh/aliases/dev.zsh | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) (limited to 'config/zsh/aliases/dev.zsh') diff --git a/config/zsh/aliases/dev.zsh b/config/zsh/aliases/dev.zsh index cd2de8c..77df460 100644 --- a/config/zsh/aliases/dev.zsh +++ b/config/zsh/aliases/dev.zsh @@ -56,28 +56,7 @@ p__run_npm_script() { zle -N p__run_npm_script; bindkey '^B' p__run_npm_script; - - -# Load shell -# p__load_nix_shell_file() { -# if [[ -f "./default.nix" ]]; then -# echo ""; -# echo "ERR: default.nix already exists in directory"; -# zle send-break; -# return 1; -# fi; -# -# local shells=$(ls ~/nixos/shell); -# local selected=$(echo -e "$shells" | fzf); -# [[ -z "$selected" ]] && return 1; -# cp ~/nixos/shell/$selected ./default.nix; -# zle send-break -# } -# -# zle -N p__load_nix_shell_file; -# bindkey '^N' p__load_nix_shell_file; - - +# TODO: Run just script fix-interpreter() { nix-shell -p patchelf --run "patchelf --set-interpreter \$(patchelf --print-interpreter \$(which mkdir)) $@" -- cgit v1.3.1