Made changes for Arch Linux

This commit is contained in:
Dreaded_X 2015-01-31 11:59:36 +01:00
parent f4dfa6b780
commit 6e97267464
2 changed files with 113 additions and 49 deletions

View File

@ -8,6 +8,7 @@ while true; do
if [ ! -f ~/.vimrc ]; then ln -s ~/.dotfiles/vimrc ~/.vimrc; fi
if [ ! -d ~/.vim ]; then ln -s ~/.dotfiles/vim ~/.vim; fi
if [ ! -f ~/.gitignore ]; then ln -s ~/.dotfiles/gitignore ~/.gitignore; fi
if [ ! -f ~/.yaourtrc ]; then ln -s ~/.dotfiles/yaourtrc ~/.yaourtrc; fi
echo "Done...";
break;;
[Nn]* ) break;;
@ -15,22 +16,22 @@ while true; do
esac
done
while true; do
read -p "Do you wish to install gnome-terminal-colors-solarized? (requires dconf-cli) " yn
case $yn in
[Yy]* ) cd ..;
git clone https://github.com/Anthony25/gnome-terminal-colors-solarized.git;
cd gnome-terminal-colors-solarized;
./install.sh;
cd ..;
rm -rf gnome-terminal-colors-solarized;
cd .dotfiles;
echo "Done...";
break;;
[Nn]* ) break;;
* ) echo "Please answer yes or no.";;
esac
done
# while true; do
# read -p "Do you wish to install gnome-terminal-colors-solarized? (requires dconf-cli) " yn
# case $yn in
# [Yy]* ) cd ..;
# git clone https://github.com/Anthony25/gnome-terminal-colors-solarized.git;
# cd gnome-terminal-colors-solarized;
# ./install.sh;
# cd ..;
# rm -rf gnome-terminal-colors-solarized;
# cd .dotfiles;
# echo "Done...";
# break;;
# [Nn]* ) break;;
# * ) echo "Please answer yes or no.";;
# esac
# done
while true; do
read -p "Do you wish to update all submodules? " yn
@ -54,38 +55,38 @@ while true; do
esac
done
while true; do
read -p "Do you wish to install source code pro with powerline? " yn
case $yn in
[Yy]* ) ssudo curl -fsSL https://github.com/Lokaltog/powerline-fonts/raw/master/SourceCodePro/Sauce%20Code%20Powerline%20Regular.otf -o /usr/local/bin/tmux-vim-select-pane;
echo "Done...";
break;;
[Nn]* ) break;;
* ) echo "Please answer yes or no.";;
esac
done
while true; do
read -p "Do you wish to install tmux-vim-select-pane? " yn
case $yn in
[Yy]* ) sudo curl -fsSL https://raw.github.com/mislav/dotfiles/1500cd2/bin/tmux-vim-select-pane -o /usr/local/bin/tmux-vim-select-pane;
sudo chmod +x /usr/local/bin/tmux-vim-select-pane;
echo "Done...";
break;;
[Nn]* ) break;;
* ) echo "Please answer yes or no.";;
esac
done
while true; do
read -p "Do you wish to install CTags? " yn
case $yn in
[Yy]* ) sudo apt-get install exuberant-ctags;
echo "Done...";
break;;
[Nn]* ) break;;
* ) echo "Please answer yes or no.";;
esac
done
# while true; do
# read -p "Do you wish to install source code pro with powerline? " yn
# case $yn in
# [Yy]* ) ssudo curl -fsSL https://github.com/Lokaltog/powerline-fonts/raw/master/SourceCodePro/Sauce%20Code%20Powerline%20Regular.otf -o /usr/local/bin/tmux-vim-select-pane;
# echo "Done...";
# break;;
# [Nn]* ) break;;
# * ) echo "Please answer yes or no.";;
# esac
# done
#
# while true; do
# read -p "Do you wish to install tmux-vim-select-pane? " yn
# case $yn in
# [Yy]* ) sudo curl -fsSL https://raw.github.com/mislav/dotfiles/1500cd2/bin/tmux-vim-select-pane -o /usr/local/bin/tmux-vim-select-pane;
# sudo chmod +x /usr/local/bin/tmux-vim-select-pane;
# echo "Done...";
# break;;
# [Nn]* ) break;;
# * ) echo "Please answer yes or no.";;
# esac
# done
#
# while true; do
# read -p "Do you wish to install CTags? " yn
# case $yn in
# [Yy]* ) sudo apt-get install exuberant-ctags;
# echo "Done...";
# break;;
# [Nn]* ) break;;
# * ) echo "Please answer yes or no.";;
# esac
# done
echo "Done installing...";

63
yaourtrc Normal file
View File

@ -0,0 +1,63 @@
# yaourtrc - Configuration for yaourt
#
# See yaourtrc(5) for more information
#
#
# General
#AUTOSAVEBACKUPFILE=0
#DEVELSRCDIR=""
#DEVEL=0
#EDITOR="$EDITOR"
#FORCEENGLISH=0
#FORCE=0
#TMPDIR="/tmp"
#NO_TESTDB=0
# SUDO
#SUDONOVERIF=0 # Avoid multiple sudo checks when timestamp_timeout=0
#SUDOREDIRECT=1 # Define to 0 in case you use a fingerprint device
# ABS
#USE_GIT=0
# If the package "abs" is installed, those var are parsed from abs.conf
#REPOS=() # REPOS available at $SYNCSERVER
#SYNCSERVER=""
# AUR
#AURURL="https://aur.archlinux.org"
#AURCOMMENT=5
#AURDEVELONLY=0
#AURSEARCH=1
#AURUPGRADE=0
#AURVOTE=1
# Build
#EXPORT=0 # Export to 1: EXPORTDIR or PKGDEST
# 2: pacman cache (as root)
#EXPORTSRC=0 # Need EXPORT>0 to be used
#EXPORTDIR="" # If empty, use makepkg's connfiguration (see makepkg.conf)
# Prompt
#NOCONFIRM=0
#UP_NOCONFIRM=0 # No prompt while build upgrades (including -Sbu)
BUILD_NOCONFIRM=1 # Only prompt for editing files
#PU_NOCONFIRM=0 # Add --noconfirm to $PACMAN -U
EDITFILES=0
#NOENTER=1
# Output
#USECOLOR=1
#USEPAGER=0
#DETAILUPGRADE=1
#SHOWORPHANS=1
#TERMINALTITLE=1
# Command
#PACMAN="pacman"
#DIFFEDITCMD="vimdiff"
# pacdiffviewer
#P_LOCATE=0 # Use locate instead of find
#P_SEARCHDIR=(/etc/ /boot/)
#P_SAVEDIR='/var/lib/yaourt/backupfiles'