diff --git a/config/fish/config.fish b/config/fish/config.fish index 7a571a5..be543fc 100755 --- a/config/fish/config.fish +++ b/config/fish/config.fish @@ -129,3 +129,9 @@ end end set -g fish_greeting "" +set -g VIRTUAL_ENV_DISABLE_PROMPT true + +# TODO: Source all +for file in ~/projects/system/dotfiles/system/completions/* + source $file +end diff --git a/dms/settings.json b/dms/settings.json index d1f0e49..b5aaa64 100644 --- a/dms/settings.json +++ b/dms/settings.json @@ -116,7 +116,7 @@ "width": 50 }, { - "id": "audioOutput", + "id": "wifi", "enabled": true, "width": 50 }, @@ -126,7 +126,7 @@ "width": 50 }, { - "id": "wifi", + "id": "audioOutput", "enabled": true, "width": 50 } diff --git a/scripts/dev-containers b/scripts/dev-containers new file mode 100755 index 0000000..1f98756 --- /dev/null +++ b/scripts/dev-containers @@ -0,0 +1,22 @@ +#!/bin/sh + +base_path="~/projects/system/dev-env/scripts/" +mount_path=$(pwd) +if [[ -n "$2" ]]; then + name=$2 +else + name=$(pwd | rev | cut -d "/" -f 1 | rev) +fi + +echo " + janishutz dev containers + + -> Creating container $name <- +" + +if $1 == "rm"; then + docker stop $name + docker container rm $name +else + eval "${base_path}/$1-container $name $mount_path" +fi diff --git a/system/completions/dev-containers b/system/completions/dev-containers new file mode 100644 index 0000000..bd01eba --- /dev/null +++ b/system/completions/dev-containers @@ -0,0 +1,2 @@ +complete -a "base node php python torch-rocm vue webserver" -c dev-containers -f +complete -a "rm" -d "Delete the container for this folder" -c dev-containers -f