Browse Source

manjaro adjustments

main
Zen 3 years ago
parent
commit
36581e6460
  1. 3
      resources/tmux.conf
  2. 20
      scripts/init.sh

3
resources/tmux.conf

@ -21,7 +21,8 @@ bind l select-pane -R
bind r source-file ~/.tmux.conf \; display "Reloaded!"
# a e s t h e t i c s
set -g default-terminal "screen-256color"
set -g default-terminal "tmux-256color"
set -g default-shell /bin/zsh
set-option -g status on
set-option -g status-interval 2
set-option -g status-justify "centre"

20
scripts/init.sh

@ -19,6 +19,9 @@ fi
echo ""
# This makes sure that ctrl+C exits the entire script
trap "exit" INT
install_if_needed() {
for package in "$@"
do
@ -30,7 +33,7 @@ install_if_needed() {
sudo apt install -y $package
;;
"arch")
sudo pacman -S $package
sudo pacman -S $package --noconfirm
;;
"mac")
brew install $package
@ -63,25 +66,20 @@ echo ""
echo "Making sure we've got the basics..."
case $DISTRO in
"debian")
echo "Updating the repositories!"
sudo apt update
sudo apt autoremove
install_if_needed vim tmux zsh git silversearcher-ag
install_if_needed make vim tmux zsh git silversearcher-ag
;;
"arch")
echo "Updating the repositories!"
sudo pacman -Syu
install_if_needed vim tmux zsh git the_silver_searcher
install_if_needed make vim tmux zsh git the_silver_searcher
;;
"mac")
install_if_needed vim tmux zsh git the_silver_searcher
install_if_needed make vim tmux zsh git the_silver_searcher
;;
esac
echo ""
echo "Getting tmux-powerline"
mkdir $HOME/.tmux
git clone https://github.com/erikw/tmux-powerline.git $HOME/.tmux/
mkdir -p $HOME/.tmux
git clone https://github.com/erikw/tmux-powerline.git $HOME/.tmux/tmux-powerline
echo ""
echo "Copying configuration files"

Loading…
Cancel
Save