summaryrefslogtreecommitdiffstats
path: root/dirsu
diff options
context:
space:
mode:
Diffstat (limited to 'dirsu')
-rwxr-xr-xdirsu10
1 files changed, 0 insertions, 10 deletions
diff --git a/dirsu b/dirsu
deleted file mode 100755
index 2dc7d0b..0000000
--- a/dirsu
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/bash
-set -e
-if [[ -z $1 ]]; then
- target="$PWD"
-else
- target="$1"
-fi
-user="$(stat -c %U "$target")"
-cd "$target"
-exec su "$user" -c "cd $PWD; exec bash"