mirror of
https://github.com/thewtex/tmux-mem-cpu-load.git
synced 2026-09-10 07:16:16 -04:00
Added a check to see if the file has already been installed.
This commit is contained in:
parent
79e16ec38b
commit
7cc6ff35cc
|
|
@ -83,7 +83,9 @@ Install
|
|||
|
||||
Build and Install Using [Antigen](https:/github.com/zsh-users/antigen)
|
||||
--------
|
||||
|
||||
Include the bundle in your ``.zshrc``
|
||||
|
||||
``antigen bundle thewtex/tmux-mem-cpu-load``
|
||||
|
||||
Configuring tmux_
|
||||
|
|
|
|||
|
|
@ -1,7 +1,10 @@
|
|||
# vim: tabstop=2 shiftwidth=2 expandtab textwidth=80 linebreak wrap
|
||||
|
||||
pushd ${0:a:h} #Pushd to the directory where this file is located.
|
||||
cmake .
|
||||
make
|
||||
sudo make install
|
||||
popd
|
||||
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue