dotfiles: sync
This commit is contained in:
@@ -5,5 +5,9 @@ fi
|
||||
eval "$(rbenv init - --no-rehash)"
|
||||
(rbenv rehash &) 2> /dev/null
|
||||
|
||||
# eval "$(docker-machine env default)"
|
||||
|
||||
# export NVM_DIR="$HOME/.nvm"
|
||||
# [ -s "/usr/local/opt/nvm/nvm.sh" ] && . "/usr/local/opt/nvm/nvm.sh"
|
||||
export PATH="/usr/local/opt/icu4c/bin:$PATH"
|
||||
export PATH="/usr/local/opt/icu4c/sbin:$PATH"
|
||||
|
||||
12
bash/.bashrc
12
bash/.bashrc
@@ -18,6 +18,15 @@ shopt -s cmdhist # save multi-line commands in one
|
||||
|
||||
export BASH_SILENCE_DEPRECATION_WARNING=1
|
||||
|
||||
# ruby-build installs a non-Homebrew OpenSSL for each Ruby version installed and these are never upgraded.
|
||||
|
||||
# To link Rubies to Homebrew's OpenSSL 1.1 (which is upgraded) add the following
|
||||
# to your /Users/madundead/.bash_profile:
|
||||
# export RUBY_CONFIGURE_OPTS="--with-openssl-dir=$(brew --prefix openssl@1.1)"
|
||||
|
||||
# Note: this may interfere with building old versions of Ruby (e.g <2.4) that use
|
||||
# OpenSSL <1.1.
|
||||
|
||||
# export RUBY_CONFIGURE_OPTS="--with-openssl-dir=$(brew --prefix openssl@1.1)"
|
||||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:.:/usr/local/lib
|
||||
export EDITOR=nvim
|
||||
@@ -43,6 +52,7 @@ alias ...='cd ../..'
|
||||
alias md='mkdir -p'
|
||||
|
||||
alias gco='git checkout'
|
||||
alias gcom='git checkout master'
|
||||
alias gd='git diff'
|
||||
alias gdc='git diff --cached'
|
||||
alias gc='git commit'
|
||||
@@ -117,8 +127,10 @@ fi
|
||||
PS1='\W$(__git_ps1 ":%s") '
|
||||
|
||||
function q() { if [ -z "$1" ]; then return 1; fi; kubectl exec -n $1 -it $(kubectl get pods -n $1 -l product=quoting,app=quoting-rails-webserver -o=custom-columns=NAME:.metadata.name | tail -1) ${@:2}; }
|
||||
function o() { if [ -z "$1" ]; then return 1; fi; kubectl exec -n $1 -it $(kubectl get pods -n $1 -l product=origin,app=origin-rails-webserver -o=custom-columns=NAME:.metadata.name | tail -1) ${@:2}; }
|
||||
function olb() { if [ -z "$1" ]; then return 1; fi; kubectl exec -n $1 -it $(kubectl get pods -n $1 -l product=online-bind,app=online-bind-rails-webserver -o=custom-columns=NAME:.metadata.name | tail -1) ${@:2}; }
|
||||
function qstag() { kubectl exec -n staging -it $(kubectl get pods -n staging -l product=quoting,app=quoting-rails-webserver -o=custom-columns=NAME:.metadata.name | tail -1) ${@:2}; }
|
||||
# bash ops-deployment/tools/debug quoting production rails c
|
||||
|
||||
function _calcram() {
|
||||
local sum
|
||||
|
||||
Reference in New Issue
Block a user