Tag Info

New answers tagged

3

What you're asking for does not seem to make sense. Here I want to get root because the remote user is now root No, the remote user is now root. The fact that you've done sudo -s on the local system doesn't change that you're ssh'ing into the soyuka account remotely. The answer for "Here I want to get /home/soyuka/downloads" is similar. Is this ...


0

Ok. I happened to notice that when ever I started tmux lots of 'other' stuff kept happening. Tracked that down to the fact that tmux likes to start login shells... When I fixed that with adding # DONT create login shell!! set -g default-command "${SHELL}" to my ~/.tmux.conf it fixed both issues. Hope this helps others. Sorry for the whole 'answering ...


0

tmux set-option -g status off && tmux set-option -g status on fixed this for me when something other than the window name was corrupted and I couldn't be bothered to figure out what it was.


1

All you need to do to do this is (as the error message says) unset the $TMUX variable: (unset TMUX; urxvt -e tmux) The subshell is necessary to avoid it being unset in your current environment, too. If you don't care about that, you don't need the subshell.


0

The issue was the tmux version 1.8. I used advice from here: http://stackoverflow.com/questions/25940944/ugrade-tmux-from-1-8-to-1-9-on-ubuntu-14-04 Upgraded tmux to version 1.9a, and the problem went away.


0

Ubuntu 14.02 uses tmux version 1.8, apperently it does not support screen-256color, so to resolve I followed this advice: http://stackoverflow.com/questions/25940944/ugrade-tmux-from-1-8-to-1-9-on-ubuntu-14-04 So: ~$ tmux -V tmux 1.9a ~$ echo $TERM screen-256color And now everything works right.


0

I do have the same problem (my set-option -g default-terminal "screen-256color" seems useless). So, whenever I need 256 colors, I use tmux -2 to force it. That ain't the solution, just a workaround.


2

The value of $TERM must be screen-256color, so that Vim correctly detects the availability of 256 colors. (tmux reuses the terminal definitions of screen, as this tool implements similar multiplexing.) You either need to set the correct value for TERM inside tmux (sorry, I don't know how this is best done), or force 256 colors in your ~/.vimrc via set ...


2

There is currently no way to do this. See this accepted answer on stackoverflow which suggests changing pane-borders instead. You can set values for pane-active-border-style and pane-border-style in your ~/.tmux.conf. See this answer for more details configuring these values (and some inconsistencies between tmux versions).


1

I accomplished this with tmuxinator.


2

systemd does its own interpretation of values of Exec and other keys. Therefore, you shouldn't write as if this is going to be passed to sh -c or something like that. In particular, if you want to treat a set of words as a single argument, quote it as you normally would, and don't escape the quotes. Consider this example from the systemd docs: Example: ...



Top 50 recent answers are included