Skip to content

Development setup for vim, tmux and zsh to work across all unix-based machines.

License

Notifications You must be signed in to change notification settings

osjayaprakash/dotfiles

Repository files navigation

About

Development setup for vim, tmux and zsh to work across all unix-based machines.

Prerequisites

Installation

install zsh - sudo apt-get install zsh
wget https://raw.githubusercontent.com/osjaya/dotfiles/master/new_machine_setup.sh -O - | zsh
  • Clone Git repo
cd $HOME
git clone https://github.com/osjaya/dotfiles
  • Update Git repo
cd $HOME/dotfiles
git pull origin master

YCM server

Compile the YCM-core by

cd ~/.vim/bundle/YouCompleteMe 
./install.py --clang-completer 
./install.py --all

Thyme

Thyme is tool to monitor the productivity (which window is actively used throughout the day).

# Install go language and git
sudo apt-get install golang git
# Install thyme
go get -u github.com/sourcegraph/thyme/cmd/thyme

Install the dependencies for thyme,

$HOME/go/bin/thyme dep
## The above command will print the packages needed to be installed on this machine. 
## sudo apt-get install x11-utils xdotool wmctrl

Verify the thyme works, this should print the json output.

$HOME/go/bin/thyme track

Add the script to crontab, such that this script would run every minute.

crontab -e 
* * * * * sh $HOME/dotfiles/thyme.sh >> $HOME/Desktop/Thyme/thyme.log 2>&1
@reboot sh $HOME/dotfiles/startup.sh &

NOTE Add an empty line at the end of crontab configuration file.

About

Development setup for vim, tmux and zsh to work across all unix-based machines.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published