Skip to content

Commit

Permalink
Too many changes, just committing
Browse files Browse the repository at this point in the history
  • Loading branch information
jbakerdev committed Feb 4, 2021
1 parent 47b0ebb commit 4cb4289
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 27 deletions.
4 changes: 4 additions & 0 deletions .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,7 @@ set ruler
augroup apache
autocmd BufWritePost /usr/local/etc/httpd/* !/usr/local/bin/brew services restart httpd
augroup END

augroup dnsmasq
autocmd BufWritePost /usr/local/etc/dnsmasq.conf !sudo /usr/local/bin/brew services restart dnsmasq && dscacheutil -flushcache && sudo killall -HUP mDNSResponder
augroup END
2 changes: 0 additions & 2 deletions .zprofile

This file was deleted.

29 changes: 27 additions & 2 deletions .zshenv
Original file line number Diff line number Diff line change
@@ -1,2 +1,27 @@
source /opt/perlbrew/etc/bashrc
export PATH="/Users/baker/.ebcli-virtual-env/executables:$PATH"
export PATH="$HOME/.ebcli-virtual-env/executables:$PATH"

# Homebrew
export PATH="/usr/local/bin:$PATH"

# MariaDB stuff
export PATH="/usr/local/opt/mariadb@10.1/bin:$PATH"

# npm stuff
export PATH="$HOME/.node_modules_global/bin:$PATH"

# Python stuff
export PATH="$HOME/Library/Python/3.7/bin:$PATH"
export PATH="$HOME/.pyenv/versions/3.7.2/bin:$PATH"

# item2 stuff
export ITERM_ENABLE_SHELL_INTEGRATION_WITH_TMUX=YES
test -e "$HOME}.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh"

# SAST stuff
export PATH="$HOME/sast/platform-tools:$HOME/sast/tools/bin:$HOME/sast/tools:$PATH"
export ANDROID_SDK_ROOT="$HOME/sast/"
export ANDROID_NDK_HOME="$HOME/sast/ndk-bundle"

# Mysql stuff
export PATH="/usr/local/Cellar/mysql@5.6/5.6.47/bin/:$PATH"

30 changes: 7 additions & 23 deletions .zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export ZSH=$HOME/.oh-my-zsh
# Set name of the theme to load. Optionally, if you set this to "random"
# it'll load a random theme each time that oh-my-zsh is loaded.
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
ZSH_THEME="agnoster"
ZSH_THEME="../../Projects/zsh-theme/jbakerdev"

# Uncomment the following line to use case-sensitive completion.
# CASE_SENSITIVE="true"
Expand Down Expand Up @@ -51,7 +51,7 @@ ZSH_THEME="agnoster"
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(rails git ruby perl docker)
plugins=(rails brew git ruby perl docker)

source $ZSH/oh-my-zsh.sh

Expand Down Expand Up @@ -86,29 +86,13 @@ source $ZSH/oh-my-zsh.sh
alias ls="ls -G"
alias vizsh="vi ~/.zshrc"
alias logs="lnav /usr/local/var/log"
alias cptunnel="ssh -L 4200:127.0.0.1:4243 root@10.2.2.139 -Nv"
alias logs_http="lnav /usr/local/var/log/httpd"
alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'

export LSCOLORS=gxfxbEaEBxxEhEhBaDaCaD

# Homebrew
export PATH=/usr/local/bin:$PATH

# MariaDB stuff
export PATH="/usr/local/opt/mariadb@10.1/bin:$PATH"
alias grbas='git rebase -i --autosquash'
alias gcfu='git commit --fixup'

# rbenv stuff
eval "$(rbenv init -)"
export PATH="$HOME/.rbenv/bin:$PATH"
alias dbicm='perl -I. Acta/Schema/MigrationScript.pm'

# npm stuff
export PATH="$HOME/.node_modules_global/bin:$PATH"

# Python stuff
export PATH="/Users/baker/Library/Python/3.7/bin:$PATH"

# item2 stuff
export ITERM_ENABLE_SHELL_INTEGRATION_WITH_TMUX=YES
export LSCOLORS=gxfxbEaEBxxEhEhBaDaCaD

test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh"
export PATH=/Users/baker/.pyenv/versions/3.7.2/bin:$PATH

0 comments on commit 4cb4289

Please sign in to comment.