diff --git a/files/bash/.bashrc b/files/bash/.bashrc index e5138b9..316d3af 100644 --- a/files/bash/.bashrc +++ b/files/bash/.bashrc @@ -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/ diff --git a/files/cmus/.cmus/.gitignore b/files/cmus/.cmus/.gitignore index 4491be9..9a9847f 100644 --- a/files/cmus/.cmus/.gitignore +++ b/files/cmus/.cmus/.gitignore @@ -4,4 +4,5 @@ command-history search-history *.pl now-playing.txt -resume \ No newline at end of file +resume +playlists \ No newline at end of file diff --git a/files/display/.config/nitrogen/nitrogen.cfg b/files/display/.config/nitrogen/nitrogen.cfg index 3eb31d4..c7cc471 100644 --- a/files/display/.config/nitrogen/nitrogen.cfg +++ b/files/display/.config/nitrogen/nitrogen.cfg @@ -1,6 +1,6 @@ [geometry] posx=0 -posy=300 +posy=0 sizex=1440 sizey=879 diff --git a/files/ruby/.bundle/config b/files/ruby/.bundle/config index 2369228..2cc65b8 100644 --- a/files/ruby/.bundle/config +++ b/files/ruby/.bundle/config @@ -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"