diff options
Diffstat (limited to 'accounts/gkleen@sif/zshrc')
| -rw-r--r-- | accounts/gkleen@sif/zshrc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/accounts/gkleen@sif/zshrc b/accounts/gkleen@sif/zshrc index 569c9372..15165ca8 100644 --- a/accounts/gkleen@sif/zshrc +++ b/accounts/gkleen@sif/zshrc | |||
| @@ -316,15 +316,15 @@ dir() { | |||
| 316 | 316 | ||
| 317 | 317 | ||
| 318 | if [[ -z ${nixShell} ]]; then | 318 | if [[ -z ${nixShell} ]]; then |
| 319 | exec -- zsh | 319 | zsh |
| 320 | else | 320 | else |
| 321 | exec -- nix-shell ${nixShell} --run zsh | 321 | nix-shell ${nixShell} --run zsh |
| 322 | fi | 322 | fi |
| 323 | else | 323 | else |
| 324 | if [[ -z ${nixShell} ]]; then | 324 | if [[ -z ${nixShell} ]]; then |
| 325 | exec -- ${@} | 325 | ${@} |
| 326 | else | 326 | else |
| 327 | exec -- nix-shell ${nixShell} --run "${@}" | 327 | nix-shell ${nixShell} --run "${@}" |
| 328 | fi | 328 | fi |
| 329 | fi | 329 | fi |
| 330 | ) | 330 | ) |
| @@ -366,7 +366,7 @@ tmpdir() { | |||
| 366 | 366 | ||
| 367 | local dir=$(mktemp -ud --tmpdir${tmpdir} ${0}.XXXXXXXXXX || return $?) | 367 | local dir=$(mktemp -ud --tmpdir${tmpdir} ${0}.XXXXXXXXXX || return $?) |
| 368 | 368 | ||
| 369 | dir -d ${dir} ${@} | 369 | ( dir -d ${dir} ${@} ) |
| 370 | ) | 370 | ) |
| 371 | } | 371 | } |
| 372 | 372 | ||
