iTerm is a third party replacement for the built-in Terminal application.

learn more… | top users | synonyms (1)

0
votes
0answers
7 views

Git Pull/Push not working with git-completion

I'm currently having an issue with git-completion when it comes to my own aliases set up. I have my .bash_profile set up like so (stripped some to not show other info): alias checkout='git checkout' ...
0
votes
1answer
28 views

How to use iTerm along with the default bash terminal?

I want to use iTerm with my default bash terminal because there is a lot of customization that i have done to my .bash_profile and I don't want to lose it or perform all the hard work again.
0
votes
0answers
32 views

How do I view inline images in w3m?

I am using a mac (el capitan), and trying to use w3m. But I don't see images when browsing pages. My question is: I want to view inline images in w3m, but don't find a way to do so. I have ...
1
vote
1answer
32 views

Run shell and type output

I am using iTerm2. I would like to have a keyboard shortcut which runs a command and types the output at the current cursor. Example: I have a function branchName which returns/prints the current ...
0
votes
1answer
24 views

iterm2 tab and window titles remove current process information

I've found tons of places that describe how to get the window title and tab titles to reflect the current directory (relative to my home directory). Here is what is in my .zshrc: precmd() { # sets ...
0
votes
1answer
20 views

Ignore global shortcuts when using iTerm

I'm using tmux in iTerm2. To resize the tmux panels, I think I'm supposed to press Ctrl+b+Arrows. For example, if I press Ctrl+b+Down, it shows all the windows in the current app, probably because it ...
1
vote
1answer
50 views

How do I configure a global hotkey for iTerm 2?

I'm a new OSX user, and I've used Linux for the past 1.5 years, and I really can't live without dropdown terminal. So I googled, and came across this question: iTerm as a slide-out terminal from the ...
0
votes
0answers
19 views

How can I set iTerm2 key mappings from a shell script?

I try to keep many Mac computers and user accounts in sync. I automate the change propagation using shell scripts which are synced across machines via git using github which has worked pretty well. ...
1
vote
1answer
42 views

Change iTerm2 profile depending on current directory

Using my .bash_profile, I used to change my iTerm2 profile per machine with the following command: echo -e "\033]50;SetProfile=ssh\a" Now, I want to change it depending on my current working ...
0
votes
1answer
32 views

iTerm text search is in reverse order

I'm running iTerm2. When do a text search ⌘ F, pressing Return moves the highlighted occurrence back (the previous occurrence). Is there a way to make it move to the next (forward) occurrence?
0
votes
1answer
50 views

Opening a specific page on Mac Preview from Terminal

How I can modify the open filename.pdf command so that I can open a desired page number directly without having to scroll down.
1
vote
1answer
112 views

Open the same terminal without switching spaces

I'm looking for an AppleScript (or anything, really) that will do the following: If a Terminal window is open in the current space, bring it to the front. If not, open a new one in the current space....
0
votes
1answer
117 views

Weird null characters ^@ output on iTerm 2 / zsh when a command is running

When I m using iTerm 2 (with zsh), and a command is running at the prompt, every minute or so ^@ (NULL character) got displayed on the terminal. Below is an example, using socat, but other commands ...
1
vote
1answer
83 views

I can't delete in tmux

I have searched around and the closes thing I could find to my issue is this: http://stackoverflow.com/questions/23848061/cannot-get-delete-key-to-work-with-tmux-and-osx I am running OSX and I am ...
4
votes
0answers
104 views

Selecting text while jumping with cursor in iTerm2

I would like to know if it is possible to get text-editor-like functionality for selecting text in iTerm2. For example, in Sublime Text 3, I can do the following: ⇧ ⌥ → = Select ...
1
vote
1answer
60 views

OS X copy paste into Terminal adds fdbf bfb9 b083 to beginning and end of selection

For the life of me, I can't figure this out. When using a browser (doesnt matter which), if I select text, then paste in Vim or Neovim, I see characters added to the beginning and end of my selection....
3
votes
1answer
87 views

Is it possible to temporarily remove margin from iTerm2 window?

I just wondering whether its possible to remove the left, right and top margin (or just all margin) temporarily in iTerm2 windows. My goal was to make the vim-airline looks better in iTerm2 by ...
1
vote
1answer
92 views

iTerm2 does not show username, machine name, time

On my new mac machine, I could not do autocomplete for Git when I hit Tab. So I thought to modify the terminal and found certain things on this link. I may have messed when I installed iTerm2, Oh-My-...
0
votes
0answers
172 views

Text selection in terminal without mouse - moving cursor using arrow keys

I recently moved from a well-configured Ubuntu to Mac. I used Emacs for many years but I am too lazy to re-install it (and re-configure it). One of the useful features in Emacs shell is that you can ...
0
votes
1answer
68 views

iTerm new window starts minimized?

For some reason, whenever I start iTerm or press CMD+N, it starts small in the top left corner, but instantly minimizes to my dock Is there a config that could be causing this? Where should I look ...
1
vote
1answer
104 views

ITerm2 Console connection to Cisco equipment Control-A does not work

I connect to Cisco Equipment via console cable and am currently trying to use ITerm2. The problem is I cannot get the Control-A (Move to beginning of line) command to work. I've tried to add in ...
0
votes
1answer
61 views

Increase amount of text copied in iterm2

When I select text in iTerm2, the text it copies cuts off at after a certain (seemingly arbitrary) point. I did a few tests and its usually between 800 and 1500 bytes of input. Why is this, and how ...
1
vote
2answers
80 views

Why does my iTerm2 launch with an X in it's path?

After upgrading to El Capitan, then working on installing Rails, my iTerm2 shell now opens with x >, instead of just >. Can someone please explain why this is happening, and help me figure out ...
4
votes
2answers
166 views

terminal custom commands source every time

After following this comment I added all my startup/alias commands to ~/.bashrc file and in ~/.bash_profile I added source ~/.bashrc But still my aliases are not working. I have to manually source ~/...
4
votes
1answer
149 views

update_terminal_cwd demystified please?

I am trying to find the documentation on what, exactly, the printf command is doing in update_terminal_cwd. If you didn't know already, the update_terminal_cwd function is defined (at least on Mac OS ...
2
votes
2answers
182 views

How can I get iTerm 2 to copy only what I select?

iTerm2 has a very nasty habit of making an assumption of what I want to copy and paste from the terminal. Instead of just allowing me to copy exactly what I highlight, it will expand to what it ...
1
vote
2answers
64 views

How do I search quickly in iTerm 2?

When searching in iTerm2, some kind of of fancy live highlighting thing seems to kick in even before you hit enter. When the scrollback buffer has more than a few thousand lines in it, this search ...
0
votes
1answer
34 views

'soft return' in iTerm2

I'm just wondering is there a way to enter a new line in iTerm 2 without executing the line being typed? I am looking to make use of some relatively long commands to automate some things, but not ...
2
votes
1answer
2k views

iterm + tmux isn't allowing me to scroll up with the mouse

I recently rebuilt my system and everything works except I can't scroll my (iterm2) terminal window back to look at commands and output that have scrolled off the screen. Without tmux I can scroll ...
0
votes
1answer
193 views

How to get iTerm to properly send the CTRL-. sequence?

Emacs uses a lot of C-. and similar keyboard sequences. iTerm doesn't send the key sequence C-. itself, but I've found that I can map C-. into an escape sequence or hex code or text in iTerm's ...
6
votes
1answer
2k views

unknown option: mode-mouse with iterm, tmux

Reset my computer and iterm2,tmux now complaining about my .tmux.conf having setw -g mode-mouse on set -g mouse-select-pane on set -g mouse-resize-pane on set -g mouse-select-window off set -g ...
3
votes
3answers
167 views

Automator service script ALWAYS launches application, disregarding conditional

I wrote a little service script to open an iTerm terminal window on an arbitrary folder on Finder. I want it to check if iTerm is running, and if it is to open the terminal session in a new tab ...
2
votes
1answer
473 views

iTerm2 output broken since upgrade to El Capitan

Since I upgraded my OS X to El Capitan (10.11) the output of iTerm2 is completely messed up. See this example screenshot (iTerm2 on the left, Terminal.app on the right): Update I'm using iTerm 2.1.4 ...
0
votes
1answer
245 views

Any reason not to change the root shell to bash?

The default shell for root (at least on Yosemite) is /bin/sh. Would there be any problem to changing it to bash (or better yet zsh)? As far as a I know bash at least is backward compatible. I need ...
1
vote
0answers
25 views

Odd issue with iTerm2 (built from Git repo)

I'm currently using iTerm2 version 3, built from the GitHub repo. My default shell is bash, but I have iTerm set up in a way to default to using zsh on startup. I had this set so that the default ...
6
votes
3answers
393 views

Remove iterm from cmd+tab apps

I was using TotalTerminal to get visor like terminal on a shortcut. But TotalTerminal is abandoned so I have switched to the iTerm2. My problem is that when I use a shortcut to trigger iTerms visor ...
0
votes
0answers
378 views

How can I stop callservicesd errors I find in Console?

I posted this to some other forum and found no luck. I'm learning Terminal, coding, and scripting. Every so often I check my Console just to see what's up. (Often I don't understand it all, but it's ...
1
vote
0answers
23 views

Automatic Software Update reboots are almost always canceled

Apple's Automatic Software Updates require a reboot from time to time which is scheduled when the computer is not in use. In my case these reboots almost always fail because some non-Apple program ...
0
votes
1answer
68 views

How does iterm2 work?

I am curious how does iterm2 work? I mean it would be a gargantuan task to re-implement all the unix commands and I guess it somehow uses the built-in terminal under the covers to run the actual ...
1
vote
1answer
23 views

Unset iTerm as the https:// handler

I made iTerm the default handler for a number of protocols that it doesn't know how to handle. How can I unset these protocols? And how can I set them to be handled by Chrome? So far I have tried ...
0
votes
0answers
161 views

iTerm2, tmux and vim doesn't work probperly

I'm using iTerm2 and in the tmux session I have two panes. When I opened file by vim on a first pane and then go to another pane make some action. Immediately my screen corrupts like this: What ...
1
vote
0answers
92 views

How do SSH sessions work with iTerm?

When I use PuTTY on Windows, if I SSH to some server and launch a script there, closing the PuTTY window stops the script. (so I typically use screen to avoid that) When I use iTerm on Mac OS X, if I ...
1
vote
2answers
641 views

Suspended (tty output) when launching editors like vim, vi, emacs, or nano

I've been using Oh-My-ZSH for a few weeks now and it's been a great experience. Just today, though, terminal started acting strangely. When I try to run an interactive terminal editor like vim, vi, ...
0
votes
0answers
75 views

How to resize iTerm2's slide-down window

I know there's a setting that controls the number of lines and columns new windows are supposed to have, but that does not seem to take effect when there are existing tabs open. Is there a way to ...
0
votes
1answer
518 views

I accidentally removed all files with “rm -rf *”. How can I recover?

I accidentially deleted every single file in my home folder of my Mac using rm -rf * in iTerms. I intended just to clear one folder, but clearly did not know what I was doing. Yes feel free to laugh, ...
0
votes
0answers
289 views

Alt[Option] key not working as meta when ssh a linux server from Mac

I use emacs on my Mac locally, I'm also using iTerm2 as the terminal tool. By setting the 'Preferences--> Profiles-->Keys--> Left option key acts as +Esc'. I can use the left alt key as meta if I ...
0
votes
1answer
106 views

iTerm2 preferences keep resetting after reboot

My changes to the preferences in iTerm2 are always reset after a reboot. They will survive a logout, but after a reboot everything is back to the previous state. I checked ~/Library/Preferences/com....
0
votes
2answers
24 views

How to disable growl on iterm2 with mac os 10.8.x?

How to disable growl on iterm2 with mac os 10.8.x ? I don't want notifications everytime a tmux session becomes idle...
0
votes
2answers
50 views

How do I use cmd+1 as a keyboard shortcut? cmd+2, cmd+3, etc, work

In Preferences > Profiles > Keys I've mapped cmd+1 through cmd+9 but cmd+1 alone does not respond. Does anyone else have this issue? This is for the latest iterm2, v2.1.1 and several earlier versions ...
1
vote
1answer
3k views

How do I configure my Terminal app with bash and iTerm2 with zshell and oh my zsh?

The Terminal app uses bash by default. And I don't want to change it. However I want to configure iTerm2 with zshell and oh my zsh. and I don't want bash on it. The instructions I checked online, make ...