add tmux config

This commit is contained in:
Dmytro Meleshko 2019-08-25 10:54:43 +03:00
parent 2325f94e1b
commit 54455cbd00
2 changed files with 8 additions and 1 deletions

View File

@ -10,7 +10,8 @@ install_dotfile() {
mv -vi "$dest" "$dest.dmitmel-dotfiles-backup"
fi
mkdir -p "${dest:h}"
mkdir -pv "${dest:h}"
echo "installing dotfile '$dest'"
echo "$contents" > "$dest"
}
@ -30,3 +31,8 @@ done
file_name=kitty.conf
file_path="$DOTFILES_PATH/kitty/$file_name"
install_dotfile "$HOME/.config/kitty/$file_name" "include ${(q)file_path}"
# tmux
file_name=tmux.conf
file_path="$DOTFILES_PATH/tmux/$file_name"
install_dotfile "$HOME/.$file_name" "source-file ${(q)file_path}"

1
tmux/tmux.conf Normal file
View File

@ -0,0 +1 @@
set -g default-terminal "tmux-256color"