chore(zsh): remove dev and develop
These aren't needed since adding `direnv`.
This commit is contained in:
parent
19ed68f3ee
commit
43a1ad8592
23
bin/develop
23
bin/develop
|
@ -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
|
|
|
@ -303,7 +303,6 @@ in
|
||||||
bindkey -M isearch " " magic-space
|
bindkey -M isearch " " magic-space
|
||||||
|
|
||||||
ialias cs="create-script"
|
ialias cs="create-script"
|
||||||
ialias dev="develop"
|
|
||||||
ialias fetch="git fetch --all --jobs=4 --progress --prune"
|
ialias fetch="git fetch --all --jobs=4 --progress --prune"
|
||||||
ialias nah="git reset --hard; git clean -fd"
|
ialias nah="git reset --hard; git clean -fd"
|
||||||
ialias pull="git pull --autostash --jobs=4 --summary origin"
|
ialias pull="git pull --autostash --jobs=4 --summary origin"
|
||||||
|
|
Loading…
Reference in a new issue