Browse Source

bin: drop git/tig wrappers. -C has more useful uses

Signed-off-by: Alejandro Mery <amery@geeks.cl>
master
Alejandro Mery 3 years ago
parent
commit
b538fee20b
3 changed files with 0 additions and 14 deletions
  1. +0
    -1
      files/bin/git
  2. +0
    -1
      files/bin/tig
  3. +0
    -12
      lib/chdir_usr_bin_wrapper.sh

+ 0
- 1
files/bin/git

@ -1 +0,0 @@
../../lib/chdir_usr_bin_wrapper.sh

+ 0
- 1
files/bin/tig

@ -1 +0,0 @@
../../lib/chdir_usr_bin_wrapper.sh

+ 0
- 12
lib/chdir_usr_bin_wrapper.sh

@ -1,12 +0,0 @@
#!/bin/sh
TOOL="/usr/bin/${0##*/}"
set -e
if [ $# -ge 2 ]; then
if [ "x-C" = "x$1" ]; then
cd "$2"
shift 2
fi
fi
exec $TOOL "$@"

Loading…
Cancel
Save