Skip to content

Commit

Permalink
Add dateiso, zp, grepobrowse, grepob aliases. Add sbt-updates global …
Browse files Browse the repository at this point in the history
…sbt plugin
  • Loading branch information
GMadorell committed May 9, 2022
1 parent 74d57e7 commit 63141e2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
3 changes: 1 addition & 2 deletions sbt/1.0/plugins/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
addSbtPlugin("com.github.duhemm" % "sbt-errors-summary" % "0.6.5")
// addSbtPlugin("net.virtual-void" % "sbt-dependency-graph" % "0.10.0-RC1")
addSbtPlugin("com.github.tkawachi" % "sbt-repeat" % "0.1.0")


addSbtPlugin("com.timushev.sbt" % "sbt-updates" % "0.6.2")

11 changes: 8 additions & 3 deletions zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ function encrypt_zip {
function optimize_clipboard_image () {
rm /tmp/test.png
pngpaste /tmp/test.png
pngquant 128 --skip-if-larger --strip --ext=.png --force /tmp/test.png
pngquant 64 --skip-if-larger --strip --ext=.png --force /tmp/test.png
# zopflipng -y /tmp/test.png /tmp/test.png
osascript -e "set the clipboard to (read (POSIX file \"$(perl -e "print glob('/tmp/test.png')")\") as {«class PNGf»})"
echo "Image is optimized :)"
Expand Down Expand Up @@ -601,7 +601,7 @@ alias cdls="lscd"
# File browser
alias dir="ranger"

# Timer and Alarms
# Timer / Alarms / Time based functions
function notify() {
if [ $# -eq 2 ]; then
osascript -e "display notification \"$2\" with title \"$1\" sound name \"Glass\""
Expand Down Expand Up @@ -631,6 +631,8 @@ function timer() {
fi
}

alias dateiso="date +%F"

# Visual Studio Code Editor Related
alias vscode="code"

Expand All @@ -657,6 +659,7 @@ alias .5="cd ......"
alias .6="cd ......."
alias .7="cd ........"
alias cdp="cd $PROJECTS_PATH"
alias zp="cdp"
alias cddownloads="cd ~/downloads/"
alias cdd="cddownloads"
alias cdh="cd $HOME"
Expand Down Expand Up @@ -747,7 +750,7 @@ alias pls=please
alias suda=please

# Command line arithmetic (ej: `math 10 * 10`)
alias math="amm --silent $PROJECTS_PATH/cli_math/CLIMath.sc"
alias math="amm --silent $PROJECTS_PATH/CLIMath/CLIMath.sc"
alias calc=math
alias calculate=math
alias m=math
Expand Down Expand Up @@ -833,6 +836,8 @@ alias gbrowsepr="gpropen"
alias gprbrowse="gpropen"
alias grepo="gh repo view -w"
alias grepoview="grepo"
alias grepobrowse="grepo"
alias grepob="grepo"

alias gf="git fetch"
alias gfetch="git fetch"
Expand Down

0 comments on commit 63141e2

Please sign in to comment.