From a5cfb44c1c72b6cbf7b88fe6ebb25b43feb94160 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Wo=C5=BAniak?= Date: Tue, 20 Apr 2021 21:46:53 +0200 Subject: [PATCH] Pushed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marcin Woźniak --- .gitignore | 1 + .local/bin/Update | 2 +- .local/bin/cleaner | 6 +----- .local/bin/cleanertmp | 1 + .local/bin/emerge-logs | 2 +- .zshrc | 3 ++- 6 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 9d87b18..ee2b6f2 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ .config/google-chrome/ .config/teamviewer/ .ipython/ +.bugz_token .irbrc .jupyter/ .local/bin/autopep8 diff --git a/.local/bin/Update b/.local/bin/Update index 8213f1c..771fa41 100755 --- a/.local/bin/Update +++ b/.local/bin/Update @@ -6,8 +6,8 @@ echo echo sudo emerge --sync sudo $HOME/.local/bin/eix-repos-sync +sudo eix-update sudo emerge -auDN @world -#sudo eix-update echo echo echo -e $(date) diff --git a/.local/bin/cleaner b/.local/bin/cleaner index 755f014..ad9586d 100755 --- a/.local/bin/cleaner +++ b/.local/bin/cleaner @@ -1,9 +1,5 @@ #!/bin/bash -set -x -sudo rm -rf /var/tmp/portage/* -sudo rm -rf /var/tmp/binpkgs/* -sudo rm -rf /var/tmp/genkernel/* -sudo rm -rf /var/cache/genkernel/* +"$HOME/.local/bin/cleanertmp" sudo emerge -a --depclean sudo emerge -a @preserved-rebuild sudo eclean -C -q packages diff --git a/.local/bin/cleanertmp b/.local/bin/cleanertmp index 5b05302..8d8eb11 100755 --- a/.local/bin/cleanertmp +++ b/.local/bin/cleanertmp @@ -3,5 +3,6 @@ sudo rm -rf /var/tmp/portage/* sudo rm -rf /var/tmp/binpkgs/* sudo rm -rf /var/tmp/genkernel/* sudo rm -rf /var/cache/genkernel/* +sudo rm -rf /var/tmpnotmpfs/portage/* sudo eclean-dist -d sudo eclean-pkg -d diff --git a/.local/bin/emerge-logs b/.local/bin/emerge-logs index 0fac1ac..954f753 100755 --- a/.local/bin/emerge-logs +++ b/.local/bin/emerge-logs @@ -1,5 +1,5 @@ #!/bin/bash -LOGS=( $(sudo find /var/tmp/portage/ -mindepth 1 -maxdepth 5 -name "build.log") ) +LOGS=( $(sudo find /var/tmp/portage/ -mindepth 1 -maxdepth 5 -name "build.log") $(sudo find /var/tmpnotmpfs/portage/ -mindepth 1 -maxdepth 5 -name "build.log") ) LEN=${#LOGS[@]} for (( i=0; i<$LEN; i++ )); diff --git a/.zshrc b/.zshrc index bd97696..09d3843 100644 --- a/.zshrc +++ b/.zshrc @@ -27,9 +27,10 @@ plugins=(rake ruby vagrant knife knife_ssh kitchen ) ZSH_DISABLE_COMPFIX=true source $ZSH/oh-my-zsh.sh -[ ! -d $CONFIG/zsh ] && { mkdir -p $CONFIG/zsh ; cd $CONFIG/zsh ; git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ; git clone https://github.com/zsh-users/zsh-autosuggestions.git } +[ ! -d $CONFIG/zsh/aws ] && { mkdir -p $CONFIG/zsh/aws ; cd $CONFIG/zsh ; git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ; git clone https://github.com/zsh-users/zsh-autosuggestions.git ; curl https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/plugins/aws/aws.plugin.zsh -o $CONFIG/zsh/aws/aws.plugin.zsh } [ -d $CONFIG/zsh ] && source $CONFIG/zsh/zsh-autosuggestions/zsh-autosuggestions.plugin.zsh &>> /dev/null [ -d $CONFIG/zsh ] && source $CONFIG/zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh &>> /dev/null +[ -d $CONFIG/zsh ] && source $CONFIG/zsh/aws/aws.plugin.zsh &>> /dev/null [ -f $HOME/.password ] && source $HOME/.password [ ! -d $CONFIG/fzf ] && git clone https://github.com/junegunn/fzf.git $HOME/.config/fzf [ -f $CONFIG/fzf/shell/key-bindings.zsh ] && source $HOME/.config/fzf/shell/key-bindings.zsh