diff options
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/sessions/project.sh | 16 |
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 & |
