Advertisement
Javi

tmux: receipts

Oct 24th, 2019 (edited)
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. ## Panel 0 colors
  2.  
  3. tmux select-pane -t:.0 -P 'fg=blue,bg=#fffff0'
  4.  
  5. ## Prompt (ok, ok, not specific for tmux)
  6.  
  7. PS1="\[\033[01;34m\]\w\[\033[00m\]\>"
  8.  
  9. ## Update time each second
  10.  
  11. tmux set -g status-right %H:%M:%S
  12. tmux set-option -s status-interval 1
  13.  
  14. ## Light colors
  15.  
  16. ```
  17. tmux set -g window-style 'fg=#171421,bg=#ffffff'
  18. ```
  19.  
  20. ## Pane titles
  21.  
  22. ```
  23. tmux set -g pane-border-status top
  24. tmux set -g pane-border-format "#{pane_index} #{pane_title}"
  25. tmux select-pane -t 1 -T "on-premises"
  26. ```
  27.  
  28. ## Sharing a read-only tmux session
  29.  
  30. * Start it with
  31.  
  32. ```
  33. ./ttyd -R tmux new -A -s ttyd bash
  34. ```
  35.  
  36. * Join it with
  37.  
  38. ```
  39. tmux new -A -s ttyd
  40. ```
  41.  
  42. * Share with public ip
  43.  
  44. ```
  45. ssh -R 80:localhost:7681 ssh.localhost.run
  46. ```
  47.  
  48. * Solarized colors (ctrl+b :)
  49.  
  50. ```
  51. set -g window-active-style 'fg=#485e65,bg=#fdf6e3'
  52. set status off
  53. set -g pane-border-bg '#fdf6e3'
  54. ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement