0
votes
0answers
16 views

Neither less or less -X clear screen on exit. (Trust me, I googled…)

Neither less or less -X clear screen on exit. At the same time, vim does.... Env iTerm2, protocol mosh, server Centos + tmux + zsh iTerm2: report term as xterm-256color tmux: set -g ...
0
votes
1answer
40 views

Tmux printing ^P

My terminal has recently started printing control characters (e.g. ^P or ^N) when I press Ctrl+P (or other combinations). I'm not sure what caused the change. Here is my .tmux.conf file. Any ideas? ...
0
votes
1answer
421 views

mac os x byobu vertical split using iTerm, tmux, zsh

How to get vertical split on Mac OS X in byobu? Ctrl + F2 is not working. It open new window instead of spliting the current. In oposite spliting horizontaly with shift + F2 works ok.
1
vote
1answer
85 views

Zsh autocomplete function with sed

I'm struggling to write an ZSH autocomplete function. My goal is to autocomplete ta's and tk's first argument with the projects listed in tmux list-sessions and tmuxinator list. Here's what I have so ...
0
votes
0answers
65 views

Using <ctrl+arrow> with zsh within (byobu-)tmux within gnome-terminal

I already added the following lines in my profile.tmux configuration file: TERM=xterm-256color set -g terminal-overrides "xterm*:kLFT5=\eOD:kRIT5=\eOC:kUP5=\eOA:kDN5=\eOB:smkx@:rmkx@" unbind C-Left ...
0
votes
2answers
111 views

Disallowing windows to rename themselves in tmux

I've installed tmux on an OS X system with zsh provided by oh-my-zsh. I usually use quite a number of tmux windows for a whole bunch of ssh sessions, and I like to keep these windows named after the ...
0
votes
1answer
59 views

zsh function cannot be used in tmux

I wrote up a special function to wrap a command, in ZSH, so it doesn't output any warnings and runs the process in my background. This command works great without tmux, but when I try to use it in a ...
0
votes
0answers
62 views

Why commands work at top of file, but not at the end

This is .tmux.conf file & as you can see it has a shell selection command at top. But it doesn't work if I put this line at the bottom. when I open tmux, it doesn't show any error or anything, but ...
0
votes
1answer
137 views

Tracing an error message when starting Tmux or Vim

Recently when I start Tmux on my Mac (with Powerline) in iTerm, I get an error git: Permission denied. I also get the error over and over again as I type in Vim (also using Powerline). As you can ...
3
votes
1answer
121 views

Can I use the output from a ZSH custom function in Tmux's status bar?

I defined a function in ~/.zshrc: foo() { print "FOO" } I'd like to output it in my Tmux status bar. I added this to ~/.tmux.conf: set -g status-right "foo: #(foo)" But I only see the static ...
1
vote
0answers
213 views

tmux in zsh with vi mode, toggle cursor shape between normal and insert mode

(note: I wrote this question on stackoverflow, but got flagged as offtopic, so I'm re-writing it here) Here's what I want: Consistent behavior (as much as possible) between Vim, MacVim, zsh with ...
3
votes
2answers
400 views

How to execute a function in bash or zsh on every letter being typed into prompt?

I know about preexec() hooks for zsh and the way this can be achieved in bash. ( link ) But can i get the current input while still typing? The idea behind this question is the following: in order ...
1
vote
1answer
227 views

ZSH Quote escaping and expansion

I am trying to run tmux, passing several commands at once, and I'm unable to properly quote the string. The command succeeds when manually entered on the command line: ~% /usr/local/bin/tmux ...
1
vote
2answers
922 views

vim backgroundcolor in tmux - how to force zsh to use screen instead of xterm in tmux

I am having the same problem like the questioner in 256 color support for vim background in tmux. In my normal terminal with zsh, I have no background color issues in vim, but when I run it inside ...
2
votes
1answer
433 views

In tmux, arrow and ctrl+arrow both result in the same code

Ubuntu 12.10, TERM is set to screen-256color in putty and tmux.conf, confirmed when I export both in and out of a tmux session. If I run cat > /dev/null and then press <down> then ...
0
votes
1answer
459 views

Weird distance between margin and cursor (iTerm2 + tmux)

I'm running iTerm 2 on 10.8 and I've installed zsh with oh-my-zsh and tmux (both from homebrew). When running zsh in iTerm it's all good, however, as soon as I run tmux, there is this weird distance ...
2
votes
1answer
82 views

Keep tmux title from `fg` to original jobname

I'm using Eevee's .zshrc/.tmux.conf. When I'm running a vim session, and I do Ctrl+z and then ⚘ fg, then it changes my tmux pane title to fg. I'd rather it change back to vim whatever.txt, or ...
3
votes
1answer
309 views

Is it possible to have zsh+keychain+tmux not ask for keys?

I'm using tmux and zsh, and I've recently been learning about ssh-agent and keychain. From the manpage for zsh, it says that it will source .zlogin only if the shell is, well, a login shell. ...
2
votes
2answers
435 views

Why doesn't tmux respond to shortcuts properly?

I'm using OSX 10.8.1 in combination with iTerm2, zsh and tmux via Homebrew. The beginning of my ~/.tmux.conf file looks like this: set -g prefix C-a unbind C-b bind-key a send-prefix set -sg ...
2
votes
2answers
452 views

Tmux + urxvt ghost activity notifications

Im using tmux on urxvt, I have activity monitoring turned on and i noticed that all tmux windows get an activity notification after every 10~15 seconds, when i switch to that window there is nothing. ...
5
votes
2answers
1k views

How do I get searching through my command history working with tmux and zshell?

I use zshell and am trying out tmux. In shell if I hit control-R, it fires off bck-i-search and I can begin typing to match commands previously entered. When in tmux, control-R appears to do nothing. ...
23
votes
3answers
6k views

Tmux and ZSH custom prompt : bug with window name

I have customized my ZSH prompt with oh-my-zsh to make it more readable and add information about git if I'm in a repository. Example : bob@inf [~/docs] % bob@inf [~/src/nicest] master % (in a git ...
42
votes
6answers
17k views

How can I make tmux use my default shell?

On a new setup, tmux is using bash instead of my default (zsh). How can I force it to use zsh?
1
vote
1answer
651 views

Is there a way to launch a command within a proper zsh shell? [duplicate]

Possible Duplicate: invoke zsh, having it run a command, and then enter interactive mode instead of exiting I'm not really clear with my question here, let me rephrase it : I've setup a ...