From e80d2cbcda1aa7e8432dfb7e35b8ef90a2ba9b3f Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Tue, 15 Aug 2017 17:22:30 +0100 Subject: [PATCH] Small uypdates --- bin/freeEbook | 2 ++ config/.sshrc | 5 ++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/bin/freeEbook b/bin/freeEbook index c3423ba6..5275032a 100755 --- a/bin/freeEbook +++ b/bin/freeEbook @@ -4,5 +4,7 @@ markup=$(curl https://www.packtpub.com/packt/offers/free-learning 2> /dev/null | #img=$(echo "$markup" | sed -n "/dotd-main-book-image/,$ p" | head | sed -n "/ /tmp/freeBook 2> /dev/null +clear imgcat /tmp/freeBook rm /tmp/freeBook +echo "https://www.packtpub.com/packt/offers/free-learning#" diff --git a/config/.sshrc b/config/.sshrc index 9ef99858..7695618a 100644 --- a/config/.sshrc +++ b/config/.sshrc @@ -3,7 +3,7 @@ echo "syntax on">>~/.vimrc echo "set number">>~/.vimrc echo "set incsearch">>~/.vimrc -TERM=xterm-256color +export TERM=xterm-256color alias vim="vi" @@ -16,11 +16,10 @@ if [ -f /usr/share/git/completion/git-completion.bash ]; then source /usr/share/git/completion/git-completion.bash source /usr/share/git/completion/git-prompt.sh elif [ -f /usr/share/git-core/contrib/completion/git-completion.bash ]; then -echo "I get here" source /usr/share/git-core/contrib/completion/git-completion.bash source /usr/share/git-core/contrib/completion/git-prompt.sh else - echo "For some reason, no git completion" + #echo "For some reason, no git completion" fi # Reset Color_Off="\[\033[0m\]" # Text Reset