blob: 217554f90543c4eead79ccfba3d3684efaf64a26 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/usr/bin/env bash
dir="$1";
# 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 &
# sleep 0.1;
term &
term &
disown;
|