Browse Source

update screen and tmux setup

pull/3/head
Cian Butler 4 years ago
parent
commit
342bfce9fa
3 changed files with 13 additions and 9 deletions
  1. +0
    -0
      screenrc
  2. +4
    -2
      setupScreen
  3. +9
    -7
      setupTmux

.screenrc → screenrc View File


+ 4
- 2
setupScreen View File

@@ -1,3 +1,5 @@
cp ~edu/.screenrc ~
echo screen -dr >> .zlogin
#!/bin/bash

curl https://raw.githubusercontent.com/redbrick/eduScripts/master/screenrc -o $HOME/.screenrc
echo screen -dr >> $HOME/.zlogin
echo In your screen type Ctrl + a and : source $HOME/.screenrc

+ 9
- 7
setupTmux View File

@@ -1,8 +1,10 @@
git clone https://github.com/redbrick/tmux-config.git ~/.tmux
ln -s ~/.tmux/.tmux.conf ~/.tmux.conf
#!/bin/bash

git clone https://github.com/redbrick/tmux-config.git $HOME/.tmux
ln -s $HOME/.tmux/.tmux.conf $HOME/.tmux.conf
pip install --user psutil
mkdir ~/bin
cp ~/.tmux/vendor/basic-cpu-and-memory.tmux ~/bin/tmux-mem-cpu-load
chmod +x ~/bin/tmux-mem-cpu-load
echo tmux attach >> .zlogin
tmux source-file ~/.tmux.conf
mkdir $HOME/bin
cp $HOME/.tmux/vendor/basic-cpu-and-memory.tmux $HOME/bin/tmux-mem-cpu-load
chmod +x $HOME/bin/tmux-mem-cpu-load
echo tmux attach >> $HOME/.zlogin
tmux source-file $HOME/.tmux.conf

Loading…
Cancel
Save