aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/sessions/project.sh16
1 files changed, 8 insertions, 8 deletions
diff --git a/scripts/sessions/project.sh b/scripts/sessions/project.sh
index 4250f67..217554f 100755
--- a/scripts/sessions/project.sh
+++ b/scripts/sessions/project.sh
@@ -2,17 +2,17 @@
dir="$1";
-editor="sensible-editor";
-
-if [[ -f "$dir/default.nix" ]]; then
- editor="nix-shell --run '$editor'";
-fi;
+# editor="sensible-editor";
+#
+# if [[ -f "$dir/default.nix" ]]; then
+# editor="nix-shell --run '$editor'";
+# fi;
term() { sensible-terminal -d "$dir" "$@"; }
-editor() { term -e sh -c "echo 'Loading...'; $editor; zsh"; }
+# editor() { term -e sh -c "echo 'Loading...'; $editor; zsh"; }
-editor &
-sleep 0.1;
+# editor &
+# sleep 0.1;
term &
term &