Skip to content

Commit 942e79a

Browse files
committed
removing shc which is bayd
1 parent 1458e54 commit 942e79a

1 file changed

Lines changed: 1 addition & 20 deletions

File tree

.bashrc

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -502,30 +502,11 @@ extract () {
502502
fi
503503
}
504504

505-
# Tail a file and search for a pattern
505+
# Tail a file and search for a pattern, and colorize the matches (I think?)
506506
t() {
507507
tail -f $1 | perl -pe "s/$2/\e[1;31;43m$&\e[0m/g"
508508
}
509509

510-
shc() {
511-
# If no inputs, ssh to main
512-
if [ -z $1 ]; then
513-
ssh ct
514-
else
515-
# If it's in config file, ssh to it regularly
516-
if [ -n "$(cat ~/.ssh/config | grep "Host $1")" ]; then
517-
ssh $1
518-
# Otherwise tunnel to it
519-
else
520-
ssh -t ct "ssh -t $1";
521-
fi
522-
fi
523-
}
524-
525-
prod() {
526-
osascript ~/prod.applescript
527-
}
528-
529510
pullreq() {
530511
[ -z $BRANCH ] && BRANCH="dev"
531512
HEAD=$(git symbolic-ref HEAD 2> /dev/null)

0 commit comments

Comments
 (0)