This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
selected=$(docker ps --format '{{.ID}} {{.Names}}' | fzf --prompt="Select container: ") | |
[ -z "$selected" ] && echo "No container selected." && exit 1 | |
container_id=$(echo "$selected" | awk '{print $1}') | |
command_exists() { | |
docker exec "$container_id" sh -c "command -v $1 >/dev/null 2>&1" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# KEYBOARD SHORTCUTS | |
# Alt+S → show subprojects | |
# Alt+I → choose IDE | |
PROJECTS_DIR="$HOME/Projects" | |
DEFAULT_IDE="code" | |
declare -A IDES=( |