Skip to content

Tmux

Tmux setup

~/.tmux.conf.local

echo "" > ~/.tmux.conf.local
echo "tmux_conf_theme_left_separator_main='\uE0B0'" >> ~/.tmux.conf.local
echo "tmux_conf_theme_left_separator_sub='\uE0B1'" >> ~/.tmux.conf.local
echo "tmux_conf_theme_right_separator_main='\uE0B2'" >> ~/.tmux.conf.local
echo "tmux_conf_theme_right_separator_sub='\uE0B3'" >> ~/.tmux.conf.local
echo "tmux_conf_theme_status_left=' 💀 #S '"  >> ~/.tmux.conf.local
echo "tmux_conf_theme_status_right=\" #{prefix}#{mouse}#{pairing}#{synchronized} #(if $(/sbin/ifconfig tun0 > /dev/null 2>/dev/null); then /sbin/ifconfig tun0 | /usr/bin/grep 'inet ' | /usr/bin/cut -d ' ' -f 10 2>/dev/null; else /sbin/ifconfig eth0 | /usr/bin/grep 'inet ' | /usr/bin/cut -d ' ' -f 10 2>/dev/null; fi) , %R , %d %b | #{username}#{root} | #{hostname} \""   >> ~/.tmux.conf.local
* in case of problem try different font Hack Regular works for me sudo apt install fonts-hack-ttf * to reload configuration Ctrl+b r

~/.zshrc

echo 'PROMPT="💀%B%F{39}%d%f%b%F{8} ~ %f"' >> ~/.zshrc
source ~/.zshrc

~/.bashrc

echo "PS1='💀 \[\e[2;49;32m\]\w\[\e[m\] '" >> ~/.bashrc
source ~/.bashrc