From 43a1ad8592da8447d993239ce739b7ffa2f5d819 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 30 Aug 2023 13:30:30 +0100 Subject: [PATCH] chore(zsh): remove dev and develop These aren't needed since adding `direnv`. --- bin/develop | 23 ----------------------- system/shared/home-manager.nix | 1 - 2 files changed, 24 deletions(-) delete mode 100755 bin/develop diff --git a/bin/develop b/bin/develop deleted file mode 100755 index ae57352..0000000 --- a/bin/develop +++ /dev/null @@ -1,23 +0,0 @@ -#!/usr/bin/env bash - -# Starts a project using the appropriate Docker Compose or Nix Flake command. - -set -euo pipefail - -if [[ -f flake.nix ]]; then - nix develop -c "$SHELL" - exit 0 -fi - -if [[ -f docker-compose.yml ]]; then - docker compose up -d "${@}" - exit 0 -fi - -if [[ -f docker-compose.yaml ]]; then - docker compose up -d "${@}" - exit 0 -fi - -echo "No docker-compose.yaml or flake.nix file found." -exit 1 diff --git a/system/shared/home-manager.nix b/system/shared/home-manager.nix index 43e8458..597f654 100644 --- a/system/shared/home-manager.nix +++ b/system/shared/home-manager.nix @@ -303,7 +303,6 @@ in bindkey -M isearch " " magic-space ialias cs="create-script" - ialias dev="develop" ialias fetch="git fetch --all --jobs=4 --progress --prune" ialias nah="git reset --hard; git clean -fd" ialias pull="git pull --autostash --jobs=4 --summary origin"