]> git.netwichtig.de Git - user/henk/vcsh/zsh.git/blob - .tzvt_config
customize fzf: use tmux and fdfind
[user/henk/vcsh/zsh.git] / .tzvt_config
1 #!/bin/bash
2 # Default variables for tmux-zsh-vim-titles
3
4 #############
5 #  Control  #
6 #############
7
8 # Path to config file, to create one, just make a copy of this file
9 # at your $tzvt_config location (e.g. ~/.tzvt_config
10 #[ -n "$tzvt_config" ] || tzvt_config="$HOME/.tzvt_config"
11
12 # Update tmux title on zsh shell change
13 #[ -n "$tzvt_zsh_update_tmux" ] || tzvt_zsh_update_tmux=true
14
15 # Update the window name also
16 #[ -n "$tzvt_set_tmux_window_status" ] || tzvt_set_tmux_window_status=true
17
18 # Use more CPU intensive vim title change
19 #[ -n "$tzvt_vim_force_tmux_title_change" ] || tzvt_vim_force_tmux_title_change=true
20
21 #############
22 #  Formats  #
23 #############
24
25 ## Hostname, JSON dictionary, e.g.:
26 ## tzvt_host_dict="{$HOST: 'mycomp'}" Used to replace hostname
27 ## wherever host name is used
28 #[ -n "$tzvt_host_dict" ] || tzvt_host_dict=""
29
30 # Space taken by the path in the title bar
31 #[ -n "$tzvt_pth_width" ]      || tzvt_pth_width=60
32 # Space taken by the path in the window tab, if tzvt_set_tmux_window_status is true
33 #[ -n "$tzvt_win_pth_width" ]  || tzvt_win_pth_width=25
34
35 ## Tmux
36 #[ -n "$tzvt_tmux_title_start" ]      || tzvt_tmux_title_start='t:'
37 #[ -n "$tzvt_tmux_title_root" ]       || tzvt_tmux_title_root='rt:'
38
39 # tzvt_tmux_title_format_ssh is used on SSH, and is parsed to use
40 # the shortest hostname possible. For the long hostname, use #H or set $HOSTNAME
41 #[ -n "$tzvt_tmux_title_format" ]     || tzvt_tmux_title_format='#S:#T'
42 #[ -n "$tzvt_tmux_title_format_ssh" ] || tzvt_tmux_title_format_ssh='#h:#S:#T'
43
44 # For window names, if tzvt_set_tmux_window_status is true, in tmux this is
45 # altered such that #W is replaced with #T (terminal title).
46 #[ -n "$tzvt_tmux_win_current_fmt" ]  || tzvt_tmux_win_current_fmt='#F#I:#W'
47 #[ -n "$tzvt_tmux_win_other_fmt" ]    || tzvt_tmux_win_other_fmt='#F#I:#W'
48
49 ## ZSH
50 #[ -n "$tzvt_zsh_title_fmt" ]  || tzvt_zsh_title_fmt='${cmd}:${pth}'
51
52 ## Vim
53 #[ -n "$tzvt_vim_title_prefix" ] || tzvt_vim_title_prefix="v:"
54 # Include PATH in vim title:
55 #  true=path from current location
56 #  long=entire path, shortened by ZSH named dirs if run from ZSH
57 #  zsh=try to use ZSH named dirs if ZSH installed, fallback to no path
58 #  false=do not include a PATH, the default (it's cleaner)
59 #[ -n "$tzvt_vim_include_path" ] || tzvt_vim_include_path=false