From 4835fe0b0b111242e690c6dd8ae0f2f481fe8f71 Mon Sep 17 00:00:00 2001 From: Michael Dombrowski Date: Thu, 5 Apr 2018 00:20:11 -0400 Subject: [PATCH 1/6] Fix terminal title to show current path --- .bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index 82a4b38..1710080 100644 --- a/.bashrc +++ b/.bashrc @@ -84,7 +84,7 @@ unset color_prompt force_color_prompt # If this is an xterm set the title to user@host:dir case "$TERM" in xterm*|rxvt*) - PS1="\[\033[0;31m\]\342\224\214\342\224\200\$([[ \$? != 0 ]] && echo \"[\[\033[0;31m\]\342\234\227\[\033[0;37m\]]\342\224\200\")[$(if [[ ${EUID} == 0 ]]; then echo '\[\033[01;31m\]root\[\033[01;33m\]@\[\033[01;96m\]\h'; else echo '\[\033[0;39m\]\u\[\033[01;33m\]@\[\033[01;96m\]\h'; fi)\[\033[0;31m\]]\342\224\200[\[\033[0;32m\]\w\[\033[0;31m\]]\n\[\033[0;31m\]\342\224\224\342\224\200\342\224\200\342\225\274 \[\033[0m\]\[\e[01;33m\]\\$\[\e[0m\]" + PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]\[\033[0;31m\]\342\224\214\342\224\200\$([[ \$? != 0 ]] && echo \"[\[\033[0;31m\]\342\234\227\[\033[0;37m\]]\342\224\200\")[$(if [[ ${EUID} == 0 ]]; then echo '\[\033[01;31m\]root\[\033[01;33m\]@\[\033[01;96m\]\h'; else echo '\[\033[0;39m\]\u\[\033[01;33m\]@\[\033[01;96m\]\h'; fi)\[\033[0;31m\]]\342\224\200[\[\033[0;32m\]\w\[\033[0;31m\]]\n\[\033[0;31m\]\342\224\224\342\224\200\342\224\200\342\225\274 \[\033[0m\]\[\e[01;33m\]\\$\[\e[0m\]" ;; *) ;; From 63d857ebc7fa2127471fd8112c0ff5eaaf26bff2 Mon Sep 17 00:00:00 2001 From: Eideen Date: Wed, 18 Jul 2018 14:07:39 +0200 Subject: [PATCH 2/6] add control for Vim-script --- install.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/install.sh b/install.sh index c805e3c..1d46903 100755 --- a/install.sh +++ b/install.sh @@ -5,4 +5,12 @@ for file in $(find . -maxdepth 1 -name ".*" -type f -printf "%f\n" ); do fi ln -s $PWD/$file ~/$file done + if hash vim-addon 2>/dev/null; then + echo "vim-addon (vim-scripts) installed" + else + echo "vim-addon (vim-scripts) not installed, running 'sudo apt update; sudo apt install bc'" + sudo apt update; sudo apt install vim-scripts +exit +fi + echo "Installed" From 8973da5fdf60242e0aca9472242c62c5f2a54183 Mon Sep 17 00:00:00 2001 From: Eideen Date: Wed, 18 Jul 2018 14:09:57 +0200 Subject: [PATCH 3/6] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 661e6bd..cca6c4d 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@ git clone https://github.com/flipsidecreations/dotfiles.git cd dotfiles -then run install.sh +# Run intstall +./install.sh ``` From 3c07407b68f7c4e7168a959108f5c7701e458eed Mon Sep 17 00:00:00 2001 From: Eideen Date: Wed, 18 Jul 2018 14:13:49 +0200 Subject: [PATCH 4/6] Update README.md --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cca6c4d..d6e0c66 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,9 @@ cd ~ git clone https://github.com/flipsidecreations/dotfiles.git cd dotfiles - -# Run intstall +``` +###### Run intstall +``` ./install.sh ``` From 73664d85cf94e53908a7e324bae23d26570467a9 Mon Sep 17 00:00:00 2001 From: Eideen Date: Wed, 18 Jul 2018 14:14:18 +0200 Subject: [PATCH 5/6] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d6e0c66..c80c99d 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,12 @@ # Installation +### Download and change folder ``` cd ~ git clone https://github.com/flipsidecreations/dotfiles.git cd dotfiles ``` -###### Run intstall +### Run intstall ``` ./install.sh ``` From f58e37462fb152157e9d64fbdba1c6a3f0be130d Mon Sep 17 00:00:00 2001 From: Eideen Date: Wed, 18 Jul 2018 14:15:56 +0200 Subject: [PATCH 6/6] removed a --- install.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/install.sh b/install.sh index 1d46903..d674c5e 100755 --- a/install.sh +++ b/install.sh @@ -10,7 +10,6 @@ done else echo "vim-addon (vim-scripts) not installed, running 'sudo apt update; sudo apt install bc'" sudo apt update; sudo apt install vim-scripts -exit fi echo "Installed"