_install_tmp
"/home/yossef/notes/git/scripts/_install_tmp.md"
path: git/scripts/_install_tmp.md
- **fileName**: _install_tmp
- **Created on**: 2025-03-26 15:13:53
installing tmp for tmux
#!/usr/bin/env bash
RC='\e[0m'
RED='\e[31m'
YELLOW='\e[33m'
GREEN='\e[32m'
install_tmp() {
# check if tmp is install or not
dir="$HOME/.tmux/plugins/tpm"
if [ -d "$dir" ]; then
echo -e "${GREEN}-- tmp already cloned $dir --${RC}"
else
# starting clone tmp
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
if [[ $? == 0 ]]; then
echo -e "${GREEN}-- cloning tmp sucessfuly -- ${RC}"
else
echo -e "${RED}** error happend in clone tmp **{RC}"
fi
fi
}
install_tmp
continue:./_install_uv.md
before:./_install_sxk_switch.md