From 73648c254cde69c29485c9e79badd903d39c21f9 Mon Sep 17 00:00:00 2001 From: Gerrit Pannek Date: Thu, 14 Feb 2019 19:45:24 +0100 Subject: [PATCH] Update --- bashrc | 2 +- setup.sh | 6 ++++-- vimrc | 8 -------- 3 files changed, 5 insertions(+), 11 deletions(-) diff --git a/bashrc b/bashrc index e6d1e37..9592ac8 100644 --- a/bashrc +++ b/bashrc @@ -15,7 +15,7 @@ else USER=$(whoami) fi -PS1='\[\033[0;32m\]${USER}@\h\[\033[0m\] [\[\033[0;33m\]\w\[\]\[\033[0;32m\]]'$PROMPT_SUFFIX +PS1='\[\033[0;32m\]${USER}@\h\[\033[0m\] [\[\033[0;33m\]\w\[\]\[\033[0;32m\]]\n'$PROMPT_SUFFIX export PATH=$PATH:~/bin:~/local/bin function tmux_title { diff --git a/setup.sh b/setup.sh index b96cd7b..154f63d 100755 --- a/setup.sh +++ b/setup.sh @@ -1,6 +1,6 @@ #!/bin/bash -LINK_FILES=(bashrc vimrc tmux.conf gitconfig dircolors) +LINK_FILES=(vimrc tmux.conf gitconfig dircolors) mkdir ~/.home-git-back 2>/dev/null for file in ${LINK_FILES[@]}; do if [ ! -L ~/.${file} ] ; then @@ -12,7 +12,9 @@ done [ ! -d ~/.bash-git-prompt ] && git clone https://github.com/nold360/bash-git-prompt.git ~/.bash-git-prompt -mkdir ~/.vim 2>/dev/null +mkdir -p ~/.vim/bundle 2>/dev/null [ ! -d ~/.vim/bundle/Vundle.vim ] && git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim vim -c ":PluginInstall" -c ":q" -c ":q" + +grep -q "source $(pwd)/bashrc" ~/.bashrc || echo "source $(pwd)/bashrc" >> ~/.bashrc diff --git a/vimrc b/vimrc index 3b7e06c..538c95c 100644 --- a/vimrc +++ b/vimrc @@ -1,11 +1,3 @@ -"Installation: -" $ mkdir -p ~/.vim/bundle -" $ git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim -" Insert the contant of this file into ~/.vimrc -" $ vim -" Type: :PluginInstall -" Restart vim & be happy :) - set nocompatible " be iMproved, required filetype off " required set rtp+=~/.vim/bundle/Vundle.vim