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!" bind r source-file ~/.tmux.conf \; display "Reloaded!"
# a e s t h e t i c s # 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 on
set-option -g status-interval 2 set-option -g status-interval 2
set-option -g status-justify "centre" set-option -g status-justify "centre"

20
scripts/init.sh

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

Loading…
Cancel
Save