Commit Graph

333 Commits

Author SHA1 Message Date
Alan Orth 18fa614165
.zshrc: Update Ruby gems location 2019-04-30 09:14:59 +03:00
Alan Orth d635a6a268
.tmux.conf: Update for tmux 2.9 syntax
The old syntax has been deprecated since version 1.9.

See: https://github.com/tmux/tmux/wiki/FAQ#how-do-i-translate--fg--bg-and--attr-options-into--style-options
See: https://man.openbsd.org/tmux.1#STYLES
2019-04-30 09:11:59 +03:00
Alan Orth e54782976e
.zshrc: Prioritize local bin path 2018-08-27 14:42:00 +03:00
Alan Orth 01c78dce3e
README.md: Update descriptions and body text 2018-07-18 13:58:07 +03:00
Alan Orth a4247542bf
.zshrc: Add Ruby and Node.js stuff for Linux
This is mostly for doing DSpace Mirage 2 builds. I hard code these
paths here so I don't need to ues horrible RVM or NVM.
2018-05-31 11:57:24 -07:00
Alan Orth 86709372d4
.zshrc: Add ~/.local/bin to PATH on Linux
This is where pip binaries end up it seems.
2018-05-31 11:55:48 -07:00
Alan Orth 4503c1c997
.zshrc: Synchronize PATH format 2018-04-07 17:08:30 +03:00
Alan Orth 8cc028a6d1
.zshrc: Use Node.js from Homebrew instead of nvm
One less dynamic thing needed to source and manage during shell init.
2018-04-07 17:03:05 +03:00
Alan Orth 0fb806c258
.zshrc: Hardcode Ruby environment on macOS
Using rvm is a real pain in the ass. I'd rather install Ruby from
Homebrew and then hardcode the gem paths. After all, I only need
this for building DSpace on macOS.
2018-04-07 16:57:54 +03:00
Alan Orth 1bf562eec9
.zshrc: Add Homebrew's sbin to PATH on macOS 2018-04-07 16:56:58 +03:00
Alan Orth ed07d98882
.zshrc: Update BasicTex path to 2017 2018-01-14 13:15:03 +02:00
Alan Orth 38da7a416d
.zshrc: Always add BasicTex to PATH
I'm sick of all these conditionals running during shell initialization—my
zsh takes several seconds to start!
2018-01-14 13:13:43 +02:00
Alan Orth 3e77f245c7
.zshrc: Remove golang stuff
I haven't compiled anything with golang in like a year, and I'm sick of all
these conditionals running during shell initialization—my zsh takes several
seconds to start!
2018-01-14 12:57:03 +02:00
Alan Orth ee6ae2f178
.zshrc: Get rid of private bin check
I don't use one, never have. I'm sick of all these conditionals running
during shell initialization—my zsh takes several seconds to start!
2018-01-14 12:55:40 +02:00
Alan Orth 2551bb447f
.zshrc: Remove jenv
I'm only using JDK 8 right now, and I'm sick of all these checks during
shell initialization—zsh takes several seconds to start!
2018-01-14 12:53:44 +02:00
Alan Orth 906da0cdbd
.zshrc: Remove Tomcat 7 from PATH 2018-01-12 06:10:50 +02:00
Alan Orth 506fb61f9d
.zshrc: Explicitly add /usr/local/bin to PATH
The macOS Terminal.app gets this automatically, but when you run other
terminal emulators like Alacritty it doesn't for some reason.
2018-01-12 06:08:18 +02:00
Alan Orth 341eeb54bd
.zshrc: Add jenv
Not sure why RVM was here but I don't want to add it to my .zshrc
anyways.
2017-10-10 01:18:43 +03:00
Alan Orth 090dc88d34
.zshrc: Add Tomcat 7 and PostgreSQL 9.5 to PATH
These are no longer the current versions in Homebrew so we need to add
them to the path manually.
2017-10-10 01:17:56 +03:00
Alan Orth 2abbe9f5d7
.zshrc: Remove ANSIBLE_HOSTS
Ansible 2.4 deprecates this variable in favor of ANSIBLE_INVENTORY but I
decided that we should just be specifying this in the ansible.cfg inside
each project anyways.
2017-10-10 01:12:47 +03:00
Alan Orth 448243cce3
.zshrc: Don't auto update Homebrew
I always update and then upgrade, so I don't want Homebrew updating
automatically.
2017-08-19 10:06:04 +03:00
Alan Orth 7f7eee4544
.zshrc: Reinstall Homebrew to /usr/local
I liked using Homebrew from a custom prefix but it causes many more
packages to have to build from source because the pre-compiled ones
from Homebrew's CI are installed in /usr/local and non relocatable.
2017-08-09 12:57:16 +03:00
Alan Orth 19c9d664b4
.zshrc: Add MAVEN_OPTS to speed up mvn builds
See:
https://zeroturnaround.com/rebellabs/your-maven-build-is-slow-speed-it-up/
2017-08-01 14:27:58 +03:00
Alan Orth 6f5c5b1b78
.zshrc: Remove jenv
I onlyn need Java 8 right now, so there's no need making another
dynamic test run during shell init.
2017-06-25 08:12:20 +02:00
Alan Orth f98fe88a44
.zshrc: Remove comment 2017-06-11 09:44:29 +03:00
Alan Orth a2e8eccb00
.zshrc: Use simpler GPG agent config 2017-06-07 12:17:01 +03:00
Alan Orth 8b1f4d6c33
.bashrc: Remove pyenv 2017-05-30 18:04:30 +03:00
Alan Orth 398ac9b06d
.zshrc: Remove pyenv
I'm sick of always wondering if there is an issue with my python
because of some pyenv issue, and not to mention I'm happy to get
rid of one more dynamic thing that needs to run on shell init.

Python 3.5+ seem to have pretty easy virtual environments so I will
just use those from now on, ie:

  $ python -m venv ~/ansible
  $ . ~/ansible/bin/activate
2017-05-30 18:03:07 +03:00
Alan Orth 627fac5ac5
.zshrc: Update homebrew config options 2017-05-15 16:22:41 +03:00
Alan Orth 783acb0169
.zshrc: Update jenv condition
This always spams "no jenv in PATH" if jenv can't be found, which
is really annoying.
2017-05-02 21:49:24 +03:00
Alan Orth e3b1138917 .vimrc: Cleanup
Remove duplicate incsearch and move color options together.
2017-03-19 20:13:20 +02:00
Alan Orth 94db3bdd01 .vimrc: Set soft tab stop to shiftwidth
For more consistent behavior with tab, indent, and delete when pre-
ferring spaces over tabs.

See: http://vimcasts.org/episodes/tabs-and-spaces/
2017-03-19 20:13:20 +02:00
Alan Orth a78a074ad0 .vimrc: Add comments and long names to options 2017-03-19 20:13:20 +02:00
Alan Orth 143304436a .vimrc: Remove paste setting
The `expandtab` help says that it doesn't work when `paste` is ena-
bled! No wonder my shift width and stuff wasn't working all these
years.
2017-03-19 20:13:20 +02:00
Alan Orth 667c06b721
.tmux.conf: Remove default command
By default tmux always executes the shell as a login shell, which
is what most users probably want, as tools like rvm rely on that.
2017-02-16 12:03:25 +02:00
Alan Orth aec2a1b4c1
.zshrc: Update to TeX 2016 2017-01-20 11:51:00 +02:00
Alan Orth e597b7befe
.zshrc: Update example for using smartresize 2017-01-20 11:49:47 +02:00
Alan Orth 729f05534d
.zshrc: A better password generator 2017-01-11 11:44:21 +02:00
Alan Orth 1b51f21ca1
Revert ".zshrc: Use simpler pyenv initialization"
This reverts commit 54b1eaaa88.

When I go back to Linux I realize how annoying this is. Let's just
use the git checkout version on all systems.
2016-12-05 22:47:28 +02:00
Alan Orth 55868c7122
.zshrc: Allow optional quality parameter to smartresize 2016-11-19 18:01:25 +02:00
Alan Orth 9b63f48e31
Add gpg-agent plumbing for zsh 2016-11-19 17:59:36 +02:00
Alan Orth bf8ce9aadb
.zshrc: Simplify config on Darwin by using gnubin paths
Homebrew creates gnubin paths where the GNU versions of utils are
not prefixed with "g", so you can call them regularly, like ls and
cp, etc.
2016-11-05 15:08:06 +02:00
Alan Orth d2f61879ef
.vimrc: Add some options from @jessfraz 2016-10-31 13:38:56 +02:00
Alan Orth 22d98df6fb
.vimrc: Allow using per-directory rc file 2016-10-31 13:26:12 +02:00
Alan Orth e5803a3e8f
.vimrc: Remove solarized_termtrans
I think this was needed years ago, or perhaps in an environment I
had years ago. Doesn't seem to be necessary in environments I use
lately (iTerm on Mac OS X).
2016-10-31 13:24:31 +02:00
Alan Orth 41134c326a
.zshrc: Use simpler test for NVM and RVM 2016-10-31 09:38:29 +02:00
Alan Orth ff2994fb10
.zshrc: Add test for RVM 2016-10-31 09:25:41 +02:00
Alan Orth 709df7306e
.zshrc: Change test for NVM
Test to see if the NVM script exists and is non-zero sized rather
than if the NVM directory exists.
2016-10-31 09:24:09 +02:00
Alan Orth 56b8575eff
.zshrc: Don't use HOMEBREW_NO_INSECURE_REDIRECT
Good idea in theory, but in practice many source files are located
on SourceForge, which apparently doesn't work with this option.
2016-10-31 09:23:05 +02:00
Alan Orth e43493a859
.zshrc: Bump up history from 1000 to 2000
Sometimes terminal sessions are running for days/weeks and you end
up missing some commands that you feel like you "just" ran.
2016-10-31 09:15:54 +02:00