File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22# source <(curl -fsSL https://raw.githubusercontent.com/mapitman/linux-bootstrap/main/generic/install-tmux-catppuccin-theme)
33
44mkdir -p ~ /.config/tmux/plugins/catppuccin
5- git clone -b v2.1.3 https://github.com/catppuccin/tmux.git ~ /.config/tmux/plugins/catppuccin/tmux
6-
7- echo " Catppuccin theme for tmux has been installed."
8- echo " To apply the theme, add the following line to your .tmux.conf file:"
9- echo " run ~/.config/tmux/plugins/catppuccin/tmux/catppuccin.tmux"
5+ if git clone -b v2.1.3 https://github.com/catppuccin/tmux.git ~ /.config/tmux/plugins/catppuccin/tmux; then
6+ echo " Catppuccin theme for tmux has been installed."
7+ echo " To apply the theme, add the following line to your .tmux.conf file:"
8+ echo " run ~/.config/tmux/plugins/catppuccin/tmux/catppuccin.tmux"
9+ else
10+ echo " Error: Failed to clone Catppuccin tmux theme repository." >&2
11+ # If sourced, return non-zero; if executed directly, exit non-zero.
12+ return 1 2> /dev/null || exit 1
13+ fi
You can’t perform that action at this time.
0 commit comments