diff options
Diffstat (limited to 'dot_local/share/sh')
| -rw-r--r-- | dot_local/share/sh/tmp | 2 | ||||
| -rw-r--r-- | dot_local/share/sh/tmp.fish | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/dot_local/share/sh/tmp b/dot_local/share/sh/tmp index 1aeaea1..ecaf2ba 100644 --- a/dot_local/share/sh/tmp +++ b/dot_local/share/sh/tmp @@ -7,5 +7,5 @@ tt() { local dir=$(mktemp -d) [ -d "$dir" ] || return 1 cd "$dir" - trap "rm -r '$dir'" EXIT + trap "rm -rf '$dir'" EXIT } diff --git a/dot_local/share/sh/tmp.fish b/dot_local/share/sh/tmp.fish index 9fe3a84..c5e0913 100644 --- a/dot_local/share/sh/tmp.fish +++ b/dot_local/share/sh/tmp.fish @@ -7,5 +7,5 @@ function tt set -l dir (mktemp -d) test -d $dir || return 1 cd $dir - trap "rm -r '$dir'" EXIT + trap "rm -rf '$dir'" EXIT end |
