1
vote
2answers
68 views

Terminal Command Colors

I like to have a really beatiful console style. I use zsh and I have changed my theme to "agnoster" See it under: oh-my-zsh My problem is that I do not have OS X and iTerm2 but I want to have these ...
0
votes
1answer
26 views

Switch from ZSH to default OS X

http://stackoverflow.com/questions/13476232/make-iterm2-launch-with-zsh I used chsh -s /bin/zsh as described above to set zsh as default. I'd like to switch back to default standard terminal that ...
2
votes
2answers
103 views

sed error when launching terminal on OS X

I get these error messages when launching bash or zsh in standard Terminal.app or iTerm2 sed: 1: "\#^system_type=# { s#^s ...": extra characters at the end of p command sed: 1: "\#^system_type=# { ...
1
vote
3answers
52 views

How do I properly install and organize terminal software on OS X?

I've been learning vim and messing around with installing certain terminal extensions like zsh and tmux. So far I've been installing everything according to their online instructions, and this has ...
0
votes
0answers
81 views

When opening Terminal: “NO LOGINS: System going down at 01:10”

I'm trying to get a terminal open, and I get this message: NO LOGINS: System going down at 01:10 Login incorrect login: *myname* Login incorrect login: It doesn't prompt for my password. This ...
1
vote
0answers
73 views

OSX Mavericks .zshrc cannot source

I am trying to source my zshrc. It sources fine when before I add this line: . ~/Dropbox/configs/aliases Then I get this: /Users/mkrell/.zshrc:.:13: too many open files: Dropbox/configs/aliases ...
1
vote
1answer
132 views

Why does my zsh prompt wander upwards when window is too narrow?

I have a weird behaviour that seems to be a combination of zsh and maybe urxvt (?) My setup is this: I start urxvt -e 'tmux' to get myself a terminal which launches zsh as the default shell. I then ...
1
vote
2answers
159 views

Zsh not recognizing ls colors

I just was introduced to Zsh and so far I am really liking the customizability. I use the following line to set up colors in .zshrc: zstyle ':completion:*' list-colors '' This gives me these ...
1
vote
0answers
87 views

Unintended autocomplete or alias in Terminal

There is a "strange" autocomplete function in my macbook. If I try to type "ps -aux" in terminal (iTerm or TotalTerminal) with the hit of "s" in ps, automatically this happens: "ps -p $$ # Tells the ...
1
vote
1answer
434 views

Mac OSX Mavericks - ZSH can't 'source ~/.zshrc', too many open files

I can't source any changes to my .zshrc (or my .bash_profile for that matter), because I get this error when I try: /Users/ME/.zshrc:source:100: too many open files: /Users/ME/.zshrc I've tried ...
0
votes
1answer
28 views

why is the terminal or “ZSH” protesting on this command

to be clear, if I run this without the alias everything is ok but with the alias in my "zshrc" config alias hh="history|awk '{print $2}'|awk 'BEGIN {FS="|"} {print $1}'|sort|uniq -c|sort -r" ...
1
vote
1answer
295 views

Split window programmatically with iTerm?

on my development workstation I often have to start the same commands every morning. zeus start, zeus server (booting rails via zeus), redis-server, and like 3 others. I know a lot of people would ...
0
votes
1answer
41 views

Time command not behaving correctly

I am having a weird problem with the time command. When I try and run $ time rspec spec It should return Finished in 15.78 seconds 75 examples real 0m22.334s user 0m17.952s sys 0m2.643s ...
2
votes
2answers
124 views

Is it possible to highlight the non-breakable space in zsh / terminal?

I’m looking for possibility to somehow highlight the non-breakable space (\xA0) in the shell output to distinguish it from the normal space during debug sessions. E. g., I would like to see the output ...
0
votes
0answers
68 views

Source ~/.zshrc needed after OSX terminal restart

I have some zsh custom autocomplete set up in OSX for a custom command I have. These autocomplete functions are defined in ~/.zshrc. If I restart the OSX Terminal, I see that the autocomplete does not ...
1
vote
1answer
596 views

Terminal starting with “no such file or directory:” message on OS X

After installing/uninstalling homebrew and other command line software such as zsh, I had an issue with my command line prompt, which let me to remove several configuration files such as .bashrc, ...
0
votes
3answers
2k views

How to change Terminator title terminal title, ZSH on Debian?

I don't know if I should ask it here or on unix.stackexchange.com, I found this question here. My question is similar, I want to change the title of a terminal, I'm using a Debian based distro, ...
2
votes
1answer
90 views

Alias empty command in terminal

I would like to clear my terminal upon hitting submitting an empty command. In other words, I would like to call clear when I hit Enter on empty line. Is that possible? I understand that is not how ...
1
vote
1answer
157 views

Backspace behavior on terminal

I opened a zsh in a remote computer running Fedora 13 (yeah, it's old). When typing backspace everything works fine, but nothing happens when I type home (Ctrl+A does the job as expected). But when ...
0
votes
1answer
142 views

What command, if any, can be a good alternative to sublime text's find in folder?

Is there a way to find a string or phrase recursively in all files in a folder from the command line, such that the output would be similar to Sublime Text 2's find behavior? Like, with the path of ...
2
votes
1answer
231 views

How can I open an application using the command line and then close the terminal without closing the opened application?

If I open an application from the command line, say Firefox, the application runs as long as the terminal stays open. Closing the terminal's tab will close the application. Is there a way to open an ...
5
votes
3answers
1k views

Using wildcards in commands with zsh

Using commands such as rsync and scp with ZSH I've run into trouble. Instead of the (normal) behaviour of giving me all matching files, it won't run and returns: ➜ ~ rsync -azP user@server:~/* ~/ ...
1
vote
1answer
265 views

Remove path until slash when typing in terminal

For instance, when I type a path in terminal cd project/example/one I can press Ctrl+W and remove the entire "word" project/example/one. Sometimes it's not very useful. Are there any shortcuts for ...
1
vote
1answer
163 views

Configuring zsh in OSX to auto start processes

I've recently converted to using zsh instead of bash in OSX and was wondering if it is possible to do the following: When I launch my terminal I would like to start various tabs and have each tab run ...
1
vote
1answer
706 views

What sequence does PuTTY send for ALT + DEL

When I connect to my Debian Wheezy Beta 4 server with PuTTY 0.62 on Windows 7 I'm experiencing a problem. My login shell is Zsh and it is configured to handle ALT + DEL for the action delete-word ...
1
vote
2answers
439 views

How can I add a beep to ZSH's prompt?

I want to be notified when a job is done or something finishes in a terminal, and I read somewhere about adding a Bell to the command prompt, and then turning on urgentOnBell. But I can't figure out ...
4
votes
1answer
634 views

Zsh in Cygwin 1.7

When starting Zsh as the shell in Cygwin 1.7, I get the escape characters in plain text. When using Zsh with the -l option, this is resolved. Why is this? As you can see, the terminal renders the ...
4
votes
3answers
287 views

UP arrow key on Apple External Keyboard not recognized in OSX Lion terminal

I have a MacBook pro for work use, and just got my hands on an apple USB keyboard. When I am in the terminal, using the external keyboard ONLY I receive weird characters when I hit the UP arrow key. ...
3
votes
1answer
151 views

How to log in which terminal session a zsh command was run

In zsh's history file, all commands are logged from all terminal sessions. Is there any way to log in which terminal session a command was run (i.e., a unique identifier for this instance of the ...
1
vote
2answers
181 views

How do I list only source code files when I type ls on OSX?

when I type ls, I don't want to see .o files because everytime I ls, It see X.cpp X.h X.o, how do I not list .o files?
0
votes
0answers
83 views

Why is a “-1” appearing on right side of my zsh Terminal prompt?

Screenshot here I recently switched over from bash to zsh for my Terminal shell, however after using it for about a week this "-1" started appearing on the right hand side of my window. It get's ...
0
votes
2answers
60 views

how do you alias a program whose name conflicts with a built-in while retaining the built-in under a different name?

In zsh 'kill' is a built-in. I would like to alias killall to kill, as I use 'killall' more often and aliasing it kill would be more convenient. i would like to retain the ability to use kill, ...
0
votes
1answer
370 views

Colors in zshell prompt cause odd behavior

I'm running OSX Lion 10.7.3, zsh version 4.3.11. I've found that if I have color escape codes in my prompt, it royally screws things up. For instance, if I scroll forward through the command history ...
2
votes
2answers
170 views

Key bindings in zshrc do not take any effect

I have just switched to zsh, and I would like to bind Home, End and Delete keys such that they would act similar to how they do in bash. I have found some commands that work if I enter them directly ...
1
vote
2answers
2k views

Load RVM environment in Screen and ZSH

This topic has been driving me nuts for a while now, and I'd like to be able to figure out what's going wrong. I use zsh with screen in my terminal, and have been for a while. However, for whatever ...
5
votes
2answers
885 views

How to reclaim ^S in zsh?

I've found ^S mapped to be the fwd-search key for zsh (ohmyzsh) but I would like to use it in vim for various mappings as well - it seems like the zsh mapping is preventing me from using it now. Any ...
0
votes
1answer
280 views

How to prevent scripts from changing the terminal's window title?

I'm using GNOME Terminal and zsh on Ubuntu with Awesome WM. I need to launch a terminal window with a certain title set like "s1" and no script inside that terminal should change the title of the tab ...
12
votes
2answers
407 views

Is it possible to use different zsh menu selection behaviour for different commands?

I'm using the menu select behaviour in zsh, which invokes a menu below the cursor where you can see the various possibilities. The .zshrc option i have set for this is zstyle ':completion:*' menu ...
2
votes
2answers
1k views

Mac OSX shell will not change [closed]

I'm trying to get ZSH as my default shell, I've installed using the installer from the oh-my-zsh project and it all installs fine, but I cannot change it to be the default shell: When I echo $SHELL ...
1
vote
1answer
394 views

Bind key sequence to ESC in zsh

How can I bin a key sequence to ESC in zsh? I wish to do the following bindkey "jj" <esc> but cannot find the code for the Esc key Thanks
3
votes
1answer
959 views

colorschemes are messed up in vim (mac OSX, iTerm2, zsh, vim 7.2 and 7.3)

For some reason in vim my colors come out looking weird. There are a few colorschemes that look correct like solarize and one called BusyBee but I'm not sure why most of my other color schemes come ...
6
votes
2answers
1k views

zsh, up arrow only repeats unique commands?

I'm looking for a setting that will make it so that when i hit the up arrow, zsh shows commands i have recently edited. The catch is, i only want unique commands. Currently, if i type echo "hello ...
0
votes
2answers
619 views

^C not working in zsh on Mac OSX

Ctrl-C stopped working for me at the terminal when using zsh (on mac osx). I didn't notice the exact moment that it happend so I can't be sure what caused it. I didd't update zsh in a while though. ...
2
votes
1answer
166 views

How can I make zsh show that there are Stashed revisions on a Git repo whenever I get into it

This is my current prompt: user@machine ~/Projects/git/repo (git)-[name_of_the_branch] % I want it to show me that there are Stash revisions by appending a 'S', like this: user@machine ...
16
votes
9answers
6k views

Open a new tab in the same directory

Say you are in /very/cool/and/deeply/nested/folder . And you want to open a new terminal tab in the same folder. How would you do that? I use Mac OS and Zsh.
4
votes
2answers
670 views

Strange zsh autocomplete behaviour

Every time I use tab autocompletion with zsh instead of completing the current string, it gives me a new string + options to complete. It's hard to explane, so here is an example. This is what would ...
3
votes
1answer
2k views

Weird behaviour/rendering of backspace in Terminal.app when SSHing into zsh using tmux/screen

I just stumbled upon a weird problem. When I SSH into my server (centos, zsh) and I type some stuff and hit backspace It looks like a space - but internally it really deleted the characters. ls -l a ...
0
votes
2answers
463 views

Stopping zsh from clearing the screen on each command

I use zsh on Mac OS X, with a theme based on "oh-my-zsh". Each time I run a command, zsh "clears" the screen (really, inserting a few dozens newlines). This is very irritating, but I can't figure out ...
2
votes
2answers
420 views

problem with zsh interactive shell

When I use zsh in interactive mode, I get some glitches. This mainly happens when the command spills over onto a new line and I use backspace, with backspace leaving behind some glitches on the screen ...
1
vote
4answers
2k views

Using zsh extensions - why do I have to manually type “zsh” to get it to appear?

I am using Robby Russell's "oh-my-zsh" extension on OSX 10.5 Leopard. However I find that it's not loaded by default.. when I start a new Terminal it uses the "default" ZSH prompt, and I must ...