regular updates

This commit is contained in:
Nemo 2019-04-10 02:24:15 +05:30
parent 5709348b88
commit 8a650f004b
4 changed files with 28 additions and 2 deletions

View File

@ -21,6 +21,23 @@ pathadd '/home/nemo/projects/scripts/'
pathadd "$HOME/.phpenv/bin"
pathadd "$HOME/apps/ec2/bin"
pathadd "$HOME/.gem/ruby/2.6.0/bin"
# needs a kubectl upgrade
pathadd "$HOME/.krew/bin"
# https://substrakt.com/journal/easy-peasy-composer-local-package-symlink-composer-link/
composer-link() {
jq '.repositories |= [{"type": "path", "url": "'$1'", "options": {"symlink": true}}] + . ' composer.json > composer.tmp.json && mv composer.tmp.json composer.json
packageName=$(jq -r '.name' $1/composer.json)
composer require $packageName @dev
}
composer-unlink() {
git checkout composer.json composer.lock
composer update
}
# Python virtualenv
export WORKON_HOME=~/.virtualenvs
@ -337,6 +354,7 @@ alias ta='terraform apply'
alias tat='terraform apply --target '
alias tfa='terraform apply --auto-approve'
alias tfat='terraform apply --auto-approve --target '
alias tfit='terraform init'
##### History Shenanigans
export HISTCONTROL=ignorespace:ignoredups:erasedups # for 'ignoreboth': ignore duplicates and /^\s/

View File

@ -4,4 +4,5 @@ command-history
search-history
*.pl
now-playing.txt
resume
resume
playlists

View File

@ -1,6 +1,6 @@
[geometry]
posx=0
posy=300
posy=0
sizex=1440
sizey=879

View File

@ -1,2 +1,9 @@
---
BUNDLE_PATH: "vendor/bundle"
BUNDLE_DEFAULT_INSTALL_USES_PATH: "true"
BUNDLE_PATH: "vendor/bundle"
BUNDLE_ALLOW_OFFLINE_INSTALL: "true"
BUNDLE_CACHE_ALL: "true"
BUNDLE_GLOBAL_GEM_CACHE: "true"
BUNDLE_GEM__TEST: "false"
BUNDLE_GEM__MIT: "false"