Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [iterm]

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

Filter by
Sorted by
Tagged with
1
vote
2answers
92 views

Assign command up (⌘↑) to go to parent folder in iTerm

The ⌘+↑ key takes you to the parent folder in Finder. How can I assign this key to do the same in iTerm - basically an alias for cd ..?
1
vote
1answer
1k views

iTerm2 applies strange color to vim's default

When I updated my iTerm2 recently in November (the main release, not nightly-build), colors are rendered strange. Fortunately, I restored old iTerm2 in the trash can, and made a comparison. In each ...
1
vote
1answer
589 views

Keep app “always on top” in El Capitan

Is there a way to keep in app always in front of other apps? The tool referenced here - Afloat - doesn't work in El Capitan. Would love to keep iTerm2 always in the forefront but can't find a way to ...
1
vote
1answer
958 views

tmux always modify my zsh PATH

I'd like to use tmux inside my iTerm2. and I have the following in my ~/.tmux.conf file. set-option -g default-shell /bin/zsh set-option -g default-command "/bin/zsh -c 'which reattach-to-user-...
1
vote
1answer
69 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 ...
1
vote
1answer
1k 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 ...
1
vote
2answers
3k 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 ...
1
vote
1answer
55 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 ...
1
vote
1answer
1k views

Disable opening tabs in iTerm2 on when the application starts?

iTerm2, on startup, opens as many tabs as were opened in my previous session. How can I disable this behaviour? I don't need those empty tabs.
1
vote
1answer
268 views

Launch console application in iTerm on boot

How can I launch some command (console application) in iTerm2 on system boot? There should be only one instance of this application.
1
vote
2answers
366 views

Escape sequence in terminal or iTerm to jump to absolute column?

Is there an escape sequence which I can use to jump to an absolute column in OS X Yosemite Terminal or iTerm? In other words: echo 12345678901234567890 echo \StartAtColumn10 A10 \StartAtColumn2 B2 ...
1
vote
1answer
119 views

Missing .Bash Files in ~/

While uninstalling/removing home-brew, node, and yeoman...I noted that I don't have a .bashrc or .bash_profile in my home directory. I only have .bash_history present. Why is this? Is this bad? If it'...
1
vote
1answer
630 views

iTerm2 settings are reset upon app close

If I change a setting within iTerm2, using the Preferences panel ex. under Window i set transparency and blur. This works as long as I do not close iTerm. Once I close the app and reopen, everything ...
1
vote
1answer
126 views

Increase space between two directories from “ls”

I recently switched to Mac from Ubuntu and I've still had a quite a lot to figure out. For iTerm2, how to adjust the space between files/directories? The following screenshot shows what it looks like ...
1
vote
1answer
698 views

How can I keep keybindings of iTerm and vim apart

1.Enviroment Env: vim+zsh+iTerm2 on Mac OSX 10.9.2. (Same problems in vim+terminal+bash on Mac OSX 10.9.2) 2. Mapping Problems Here are mapping problems list(You can chose any of them to anwser). ...
1
vote
1answer
3k views

In iTerm, why is a command shell's command not picking up things on my $PATH?

I've got a script in my ~/.bin directory that changes iTerm's background before starting an SSH session (as detailed here, script slightly modified from this version). If I start a regular login ...
1
vote
1answer
2k views

iterm2 and tmux: Keyboard conflicts

When I open a terminal in iTerm2, I can use the command key to make it work like Meta, so that I can for example move between words (e.g. with ⌘-f and ⌘-v. However, as soon as I start a tmux session ...
1
vote
1answer
354 views

Clicking on folder in iTerm2 opens in web browser instead of Finder

I have iTerm2 v1.0.0.2 and I am correctly able to open folders in my home directory if command-click on them. However I am not able to open folders on my Desktop or Documents if I command-click them, ...
1
vote
1answer
90 views

taglist in iterm2

I use taglist vim plugin in iterm2 when I use :TlistToggle, the first time is ok but the second time of :TlistToggle, I get any suggestions ? PD: I don't have this problem in fullscreen
1
vote
1answer
910 views

I've managed to break my terminal, (iTerm2(b17), ZSH, OSX10.6.6)

I'm migrating to a shiny new laptop (yay) unfortunately I've manually set up my iTerm to match the old machine, but something is not right (not yay). I'm experiencing using xterm-256color doesn't ...
1
vote
0answers
55 views

iterm2 issue : create new tab with same path of previous current tab BUT 2 tabs are clones and not indepedent

You can see the bounty launched on StackOverflow (Bounty started about ìTerm2 problem) about this issue described below. I have switched from default terminal on MacOSs Mojave to iterm2. I have an ...
1
vote
0answers
12 views

How to display the marked position at the very top when jumping to previous mark in iTerm?

When you jump to a previous mark in iTerm, the marked position will be displayed in (vertically) the middle of the terminal window. But instead of displaying it in the middle, I want it to be ...
1
vote
0answers
47 views

How to disable iterm2 rectangular selection?

In MacOS iterm2 Option + Cmd: Make a rectangular selection. how to disable this shortcut? many thanks!
1
vote
0answers
13 views

Is there a way to update an existing window arrangement in iTerm2?

I have saved window arrangements which work great. However I sometime want to update an existing one and I cant find a way to do it without having to save a new one and delete the previous?
1
vote
0answers
198 views

iTerm2 still opens old shell after Bash upgrade

I tried upgrading my MacOS Bash from 3.2 to the latest version as in this article. It involves installing the latest Bash with Homebrew and then setting the default shell with chsh. However, chsh ...
1
vote
0answers
163 views

iTerm2 no longer putting SSH host in tab title

I recently updated iTerm2 to 3.3.0beta1. I used to see the name of the host I SSH'd to in the tab title. Now all it says is ssh. Any idea how get the previous behavior back?
1
vote
0answers
248 views

Running a command with access to “System Events.app” granted

I am updating applications installed via Homebrew from command line. iTerm2 requires access to "System Events.app" to be correctly updated, which ends up in a process that is not fully automated and ...
1
vote
0answers
32 views

iTerm2 intermittently gets stuck on pasting old clipboard contents

As described in the title: sometimes iTerm2 does not realize that the clipboard has been updated. I have verified the problem were specific to iTerm2 by pasting the newer clipboard contents into ...
1
vote
0answers
34 views

How to get rid of a beep in iterm2 on `backward-word`

I'm using zsh in iterm2. I've set: bindkey "[D" backward-word for option+left to skip a word back. While it works, I also get a terminal beep every time I do it and I'm not sure where is it coming ...
1
vote
0answers
269 views

Terminal command and Broken Pipe

I use the iTerm terminal a lot and occasionally I'll run a script with an "exit" in it. When that statement executes I get 2 orange horizontal lines drawn the width of my iTerm window with the message ...
1
vote
1answer
604 views

Key binding in iTerm2

I am trying to bind a shortcut to perform cut command in iTerm2. Obviously, cut is bound to Cmd + x, but I would also like it to be bound to Ctrl + w. I did this easily for paste by going to iTerm2 → ...
1
vote
0answers
224 views

Using i2cssh with highSierra

I have the latest i2cssh installed dmanna-a01:Downloads dmanna$ brew info i2cssh i2cssh: stable 1.3, HEAD https://github.com/djui/i2cssh /usr/local/Cellar/i2cssh/1.3 (5 files, 6.5KB) * Built from ...
1
vote
1answer
184 views

Force language change on focus into terminal

Is there any way of forcing input language set to default one on terminal/iterm focus? Basically what I want to achieve is setting current keyboard input language to English on switching back from ...
1
vote
1answer
210 views

How to change screensaver user name and/or iterm2 top bar name on mac [duplicate]

I am new to macbook pro. A few weeks ago I bought used macbook pro. I tried to change user name and it looks somewhat well. But when I open my iterm2, something that I don't want is wroten(MBP085ui). ...
1
vote
1answer
1k views

iTerm not showing colors for directories/folders

I have tried solutions in various places (including here but there are still no color in my iTerm. I have these lines in my .bash_profile: export CLICOLOR=1 export LSCOLORS=cxfxdxdxhxegedabagacad ...
1
vote
1answer
60 views

Can one create an iTerm / Terminal (MacOSX) Secure session?

I use iTerm for doing things such as creating passwords by selecting random words from /usr/dict. I prefix the commands with a space so they aren't saved in the shell history. I discovered to my ...
1
vote
0answers
634 views

ANSI Colours not showing in iTerm2

I've tried following answers in this link but I still can't get the ANSI colours in custom themes to show for me in iTerm. Did anyone find any other fixes? https://superuser.com/questions/399594/...
1
vote
1answer
3k views

changing user prompt terminal

I am new to using macs. I was using the bash shell, but recently tried switching to using iTerm2 and zsh. Originally, it looked the way I wanted, but something changed and reformatted my shell. ...
1
vote
0answers
312 views

Left Alt key does not work properly on QWERTZ keyboard and iTerm2

I am using the QWERTZ keyboard and I can't get the "@" (commercial at symbol) in iTerm2. As long as I'm using the left Alt key I'm only getting a question mark. Using the same setup at my work ...
1
vote
0answers
931 views

Is it possible to have iTerm2 restore the session history?

Currently when re-launching iTerm2 I'll get my window setup back, but they all share a common history. I.e. whatever is in ~/.bash_history. Can I get it to restore my sessions with the actual session ...
1
vote
1answer
564 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 ...
1
vote
1answer
331 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. ...
1
vote
1answer
2k views

I can't delete in tmux

I have searched around and the closes thing I could find to my issue is this: https://stackoverflow.com/questions/23848061/cannot-get-delete-key-to-work-with-tmux-and-osx I am running OSX and I am ...
1
vote
0answers
876 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 ...
1
vote
0answers
477 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
0answers
312 views

Is it possible to assign system wide hotkey to show/hide app?

I'm trying to mimic iTerm2 feature. It has a feature to show/hide iTerm2 by a hotkey (eg. option + space). When I press the hotkey, the app was shown. Is it possible to do the same to another app? I ...
1
vote
0answers
283 views

Running “irb” changes my zsh to bash on iTerm2

I'm running OSX 10.9.4, and my default shell is set to z shell. I was just working out my installation of Ruby and RVM and playing around with irb when I suddenly notice that my window title says "...
1
vote
0answers
356 views

iTerm2 wrong color output

The command ls when using iTerm is behaving strange. It outputs colors but they change at some point and I don't think this is the normal behavior. I have the following alias for ls alias ls='ls -FGlh'...
1
vote
0answers
39 views

In iterm I can't put directly some characters like ~ or "

When I try to put characters like " or ~ in iterm it gets underscores and waits for next one to be finally put, how I can stop it?
1
vote
1answer
642 views

Seamless title bar and terminal background?

How can I make the title (and tab) bar of iTerm 2 exactly the same color as the terminal background so that it's impossible to tell where one starts and the other begins? How it is at the moment: ...