aboutsummaryrefslogtreecommitdiff
path: root/config/zsh/aliases/dev.zsh
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2022-10-07 23:35:42 +0530
committerAkshay Nair <phenax5@gmail.com>2022-10-07 23:35:42 +0530
commitd56c8ff9424ab87b1e9b78b5961da03a2268dc5b (patch)
tree8333a1ff4118f67f2b67355247c7c80e22e24442 /config/zsh/aliases/dev.zsh
parent0156e5e9b6bfb6ddee079d1d021d177041cd0f44 (diff)
downloadnixos-config-d56c8ff9424ab87b1e9b78b5961da03a2268dc5b.tar.gz
nixos-config-d56c8ff9424ab87b1e9b78b5961da03a2268dc5b.zip
config sync
Diffstat (limited to 'config/zsh/aliases/dev.zsh')
-rw-r--r--config/zsh/aliases/dev.zsh11
1 files changed, 1 insertions, 10 deletions
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;