Skip to content

Commit

Permalink
Removed aliases other than frequency.
Browse files Browse the repository at this point in the history
  • Loading branch information
kannangce committed May 17, 2023
1 parent 7bf7ff2 commit f51d495
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions scripts/source-bb-utils-osx.sh
Original file line number Diff line number Diff line change
@@ -1,24 +1,5 @@
# Wrapper for frequency
function frequency()
function frequency()
{
bb -i -f $BB_SCRIPTS/src/frequency.clj -- $@
}

# mkdir and cd
function mkcd() { mkdir $1; cd $1 ;}

# git push for new branch
function push() { echo "Pushing to $(git branch --show-current)"; git push --set-upstream origin $(git branch --show-current);}

## Composed with clipboard
# format json
alias jlint='pbpaste|jq . |pbcopy'

# deduplicate
alias dedup='pbpaste| sort -u|pbcopy'

# Cleanup all the branches except master
alias cleanup_branches='git branch|grep -v master|xargs git branch -d'

# Shorthand for gradle with enhanced heap and parallel option
function g() { ./gradlew -Dorg.gradle.jvmargs=-Xmx10g --parallel $@; }

0 comments on commit f51d495

Please sign in to comment.