diff options
Diffstat (limited to 'config/sh/functions')
-rw-r--r-- | config/sh/functions | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/config/sh/functions b/config/sh/functions deleted file mode 100644 index a662f2d..0000000 --- a/config/sh/functions +++ /dev/null @@ -1,20 +0,0 @@ -function perldoc { - # XXX bash specific - if type cpandoc > /dev/null 2>&1; then - cpandoc "$@" - else - command perldoc "$@" - fi -} - -function cdu { - local root - root="$(git rev-parse --show-superproject-working-tree 2>/dev/null)" - if [ -n "$root" ]; then - cd "$root" || return - else - cd "$(git rev-parse --show-toplevel)" || return - fi -} - -# vim:ft=sh: |