We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 39cef32 + 942e79a commit ed11b86Copy full SHA for ed11b86
1 file changed
.bashrc
@@ -369,30 +369,11 @@ extract () {
369
fi
370
}
371
372
-# Tail a file and search for a pattern
+# Tail a file and search for a pattern, and colorize the matches (I think?)
373
t() {
374
tail -f $1 | perl -pe "s/$2/\e[1;31;43m$&\e[0m/g"
375
376
377
-shc() {
378
- # If no inputs, ssh to main
379
- if [ -z $1 ]; then
380
- ssh ct
381
- else
382
- # If it's in config file, ssh to it regularly
383
- if [ -n "$(cat ~/.ssh/config | grep "Host $1")" ]; then
384
- ssh $1
385
- # Otherwise tunnel to it
386
387
- ssh -t ct "ssh -t $1";
388
- fi
389
390
-}
391
-
392
-prod() {
393
- osascript ~/prod.applescript
394
395
396
pullreq() {
397
[ -z $BRANCH ] && BRANCH="dev"
398
HEAD=$(git symbolic-ref HEAD 2> /dev/null)
0 commit comments