Support Java alias for jshell

The `jshell` alias currently imports libs like guava and jOOL into the `jshell`,
which is nice for experimenting.

Experimenting with keeping some helpful `.jars` in `~/programming/jars`. This
may be a bad idea, and there may exist a more idiomatic way to do this instead
of wrapping `jshell` in an alias, but for now, I need to move on.

Also documents some abbreviations for applications. `jv` will be necessary so
that I don't conflict with `j` or `js` for javascript. Eventually I'll need to
be more organized to avoid naming collisions, but this is okay for now.
This commit is contained in:
William Carroll 2019-03-29 17:19:29 +00:00
parent 54c13a8848
commit cc3aecb1e3

View file

@ -1,4 +1,18 @@
# Applications
# java: jv
# tmux: t
# $EDITOR: e
# vim: v
# GnuPG: gpg
# blaze: bz
# borgcfg: br
# piper: pi
# pastebin: pb
# codesearch: cs
# git: g
# mercurial: hg
# aptitude: apt
# chrome: c
#
# Supported qualifiers:
# hidden: h
@ -10,6 +24,7 @@
# test: t
# build: b
# list: ls
# shell: sh
# Misc
alias c="xclip -selection clipboard -i"
@ -58,6 +73,10 @@ alias dkrit="docker run -it"
alias dkrd="docker run -d"
alias dki="docker images"
# Java
alias jvsh='CLASSPATH=$(fd \\.jar$ ~pro/jars | tr \\n :) jshell'
# Elixir
alias m="mix"
alias mc="mix compile"
@ -157,11 +176,6 @@ alias si='i3-msg restart'
alias sm='tmux source-file ~/.tmux.conf'
# Google aliases
# blaze: bz
# borgcfg: br
# piper: pi
# pastebin: pb
# codesearch: cs
alias bzb='blaze build'
alias bzt='blaze test --test_output=all'
alias br='borgcfg'