forked from mudhorn/dotfiles
commit
feec9e676f
2
.bashrc
2
.bashrc
|
@ -84,7 +84,7 @@ unset color_prompt force_color_prompt
|
||||||
# If this is an xterm set the title to user@host:dir
|
# If this is an xterm set the title to user@host:dir
|
||||||
case "$TERM" in
|
case "$TERM" in
|
||||||
xterm*|rxvt*)
|
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\]"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
;;
|
;;
|
||||||
|
|
|
@ -1,10 +1,13 @@
|
||||||
# Installation
|
# Installation
|
||||||
|
### Download and change folder
|
||||||
```
|
```
|
||||||
cd ~
|
cd ~
|
||||||
git clone https://github.com/flipsidecreations/dotfiles.git
|
git clone https://github.com/flipsidecreations/dotfiles.git
|
||||||
|
|
||||||
cd dotfiles
|
cd dotfiles
|
||||||
|
```
|
||||||
then run install.sh
|
### Run intstall
|
||||||
|
```
|
||||||
|
./install.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -5,4 +5,11 @@ for file in $(find . -maxdepth 1 -name ".*" -type f -printf "%f\n" ); do
|
||||||
fi
|
fi
|
||||||
ln -s $PWD/$file ~/$file
|
ln -s $PWD/$file ~/$file
|
||||||
done
|
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
|
||||||
|
fi
|
||||||
|
|
||||||
echo "Installed"
|
echo "Installed"
|
||||||
|
|
Loading…
Reference in a new issue