tmux-mem-cpu-load/tmux-mem-cpu-load.plugin.zsh

11 lines
238 B
Bash

# vim: tabstop=2 shiftwidth=2 expandtab textwidth=80 linebreak wrap
if [ ! -s /usr/local/bin/tmux-mem-cpu-load ];
then
pushd ${0:a:h} #Pushd to the directory where this plugin is located.
cmake .
make
sudo make install
popd
fi