From d56c8ff9424ab87b1e9b78b5961da03a2268dc5b Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Fri, 7 Oct 2022 23:35:42 +0530 Subject: config sync --- config/zsh/aliases/dev.zsh | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'config/zsh/aliases/dev.zsh') diff --git a/config/zsh/aliases/dev.zsh b/config/zsh/aliases/dev.zsh index 083fa3e..793d823 100644 --- a/config/zsh/aliases/dev.zsh +++ b/config/zsh/aliases/dev.zsh @@ -6,15 +6,6 @@ alias aws="docker run --rm -it amazon/aws-cli" # nix shell with zsh nix-zsh() { nix-shell --run "WITH_NIX_PREFIX='${NX_PREFIX:-':'}' zsh" "$@"; } -# shell for node 14 -with_node_14() { NX_PREFIX="node14" nix-zsh -p nodejs-14_x "$@"; } - -# shell for docker-compose -with_dcomp() { TMPDIR=$HOME/dump/tempdir NX_PREFIX=docker-compose nix-zsh -p docker-compose; } - -# npm run for node_14 -nrx() { with_node_14 --run "npm run $*"; } - # :: Filename Pattern Replacetext far() { local file_r="$1"; shift; @@ -88,7 +79,7 @@ p__enter_nixshell() { return 0; else echo ""; - echo "ERR: default.nix already exists in directory"; + echo "ERR: No default.nix or shell.nix in directory"; zle send-break; return 1; fi; -- cgit v1.3.1