The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
1answer
35 views

autocomplete in zsh after `npm run tdd` command

I'm using OS X 10.10.3, I have installed zsh. And every time when I want to run a specific test I configured in package.json to execute npm run tdd followed by the test file. In linux systems if I ...
1
vote
1answer
25 views

Dragging and dropping a file onto a Terminal window doesn’t escape the path under zsh 5.2

Under OS X you can drag and drop a file from the Finder (or anywhere else) onto a Terminal window and the file’s path will be inserted as if you had typed it in. Recently, filenames with spaces have ...
0
votes
1answer
25 views

How to get local directory names into terminal window titles?

The title of my terminal window is: Terminal -- bash -- 130x39 This is how I see them listed in Terminal->Window and it is very hard to know which one is which. When I use multiple terminals, the ...
0
votes
0answers
29 views

Z shell history broken on OS X Mavericks

I can't get Z shell's history working at all. cat .zshrc : HISTSIZE=1000 SAVEHIST=1000 HISTFILE='~/.shell_history' setopt APPEND_HISTORY EXTENDED_HISTORY INC_APPEND_HISTORY Whatever the terminal ...
1
vote
1answer
42 views

How to use find to list all files except those under .git?

I want to find a list of file (no directories) excluding those under .git I am trying out some suggested find syntax to achieve as suggested in this SO question: ...
0
votes
0answers
15 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 ...
0
votes
0answers
91 views

ZSH Slow - Calls sh and env multiple times on every command

My ZSH (tried both brew and included version) is slow. Even on calling simple ls command, it takes about 500ms to complete. And I noticed that on the title bar, it says sh and env couple of times ...
3
votes
0answers
316 views

rbenv not overriding default Ruby version

I used the thoughtbot laptop script to setup a new Macbook Air (OSX 10.10.5), but when I navigate within a Rails project that contains a .ruby-version file, running commands such as rails s returns an ...
-2
votes
1answer
57 views

Stop powerline hovering above bottom of full-screen terminal

When in full-screen mode ("full-full", not just maximised with menu bar still showing) Powerline inside Terminal.app hovers slightly (about it's own height) above the bottom of the screen. Does ...
-1
votes
1answer
512 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 ...
2
votes
1answer
54 views

Terminal backslash input repeated in output

I'm using zsh on a MacBook Pro, OS X 10.10. When I type in certain commands, such as this one: cat myfile | awk -F $'\t' '{print $8, $9}' | sort | uniq -c | sort -k1,1n | awk '{if ($1 > 50) sum += ...
0
votes
0answers
122 views

Can not set ls colors in zsh

I'm using zsh on OS X with the Dark Solarized theme. I'm trying to customize my ls colors, in particular the yellow background for directories which bothers me a lot. However, nothing I change in ...
0
votes
1answer
78 views

Tab completion in terminal with alias

I'm running a zsh terminal under Yosemite and have defined a simple alias to place files in Yoink: $ alias yoink='open -a Yoink' $ yoink my-file-to-yoink.txt This works great but for some unknown ...
1
vote
2answers
2k views

Powerline patched font not working on Terminal.app

I am on Mac OS X 10.10.2 (14C2513). I am using Inconsolata patched font from here. But I also tried to patch the font myself. The result is the following: I am able to see the glyphs but zsh (see ...
1
vote
1answer
260 views

Terminal git:master after oh-my-zshell installation

I just installed oh-my-zshell. And my terminal looks like the image now. What is git master there? I installed oh-my-zshell on other macs, the look is not like that. I am on the root here BTW. Can ...
2
votes
1answer
116 views

iTerm2 runs my .zshrc twice

When starting a terminal in iTerm 2, my .zshrc is executed twice. Possibly has something to do with the "last login" printed at the top of terminal by iTerm? Anyone know how to fix this? Example ...
1
vote
1answer
92 views

Wierd character in zsh

I have problem with zsh at command line for non English language characters but after enter key the language show the right word. ~ ❯ สว<0e31>สด<0e35> สวัสดี zsh: command not found: ...
1
vote
3answers
92 views

open <TAB> opening finder window

I use zsh. For some reason, with zsh, when I type open <TAB> (which should list the files to autocompletion), it opens Finder in the current folder. I don't have anything aliased for that. I ...
0
votes
2answers
70 views

File contents remains in terminal after exiting Vim?

I'm using the stock terminal with zsh and vim. After I exit vim, the file contents remains in the terminal. Ideally, only the previous history would be in the terminal when I exit vim (such as the ...
1
vote
1answer
481 views

LSOpenURLsWithRole() failed with error 10810 in iTerm2 running tmux on Yosemite

[~%]open ~/Pictures/upload.png LSOpenURLsWithRole() failed with error -10810 for the file /Users/bryanhunt/Pictures/upload.png. Before this update I used to be able to open images, PDFs, etc. from ...
5
votes
2answers
2k views

How to get rid of “You have new mail.” in zsh

I'm using zsh with prezto as my shell with iTerm as terminal app. I always get the message "You have new mail" when opening a new prompt. I don't have any new mail in Mac Mail and I don't run a mail ...
1
vote
0answers
103 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
1answer
199 views

Unknown error message in Terminal

When I open the Terminal I keep getting this message, which I suppose is some error: /Users/sinisasasic/.zshrc:export:48: not valid in this context: ...
5
votes
0answers
224 views

Issues with Unicode symbols in some applications running in Terminal.app and iTerm2

Darwin DeoGloria 13.3.0 Darwin Kernel Version 13.3.0: Tue Jun 3 21:27:35 PDT 2014; root:xnu-2422.110.17~1/RELEASE_X86_64 x86_64 Fresh user account. Terminal.app and iTerm2 with UTF-8 set. Accented ...
1
vote
1answer
145 views

How do I disable the “theme loaded” message in zsh

Im using zsh as my default shell and loving it. I have random themes enabled, and whenever I load a theme it displays a message on my terminal. How do I disable this message? Im talking about ...
4
votes
3answers
4k views

chsh doesn't change $SHELL

I'm having some difficulties in changing the value of $SHELL in OSX's iTerm app. iTerm is starting in /bin/zsh, but the value of $SHELL doesn't seem to change. What I've done: Changed "command" as ...
1
vote
1answer
198 views

XQuartz is not starting from within tmux

I'm using the standard apple terminal with zsh as my default shell. In my ~/.zprofile (equivalent of .profile) I have the following line: [[ $TERM != "screen" ]] && exec tmux This ...
1
vote
1answer
32 views

zsh stopped parsing ~/.zshrc

I'm running the latest OSX on an MBP from '11. I've installed the latest zsh from macports and all of a sudden it stopped parsing the .zsh. Whenever I login I need to source ~/.zshrc before any ...
2
votes
0answers
69 views

“l/” in shell creates a whitespace

Whenever I type l/ in terminal on OS X (Mavericks), it replaces it with a blank space. I can't seem to find any relevant problems or fixes on Google and I have no idea why this happens. For example, ...
1
vote
2answers
340 views

How do I copy text from vi?

I installed zsh, and I'm using vi. I want to copy a line from vi to somewhere else. How may I do this?
2
votes
2answers
9k views

zsh themes loaded but not working

I set theme in .zshrc file: ZSH_THEME="random" And when open new tab, it shows that new theme is loaded: [oh-my-zsh] Random theme '/Users/maks/.oh-my-zsh/themes/gozilla.zsh-theme' loaded... mac ...
3
votes
2answers
396 views

Removing the builtin command-line utilities from PATH, zsh

Okay, so I'm a Linux power user, that is I feel most at home when I have access to the command-line, and I'm very much used to using GNU coreutils, so now that I've installed GNU coreutils on Mac OS X ...
2
votes
1answer
1k views

change terminal language os x

I have a Mountain Lion macbook and it's default locale is english, it's keyboard is english (US) as well. I need to change the language that the terminal replies to Swedish. For example, Instead of ...
2
votes
2answers
1k views

How to recover from “chown -R $USER /usr/”?

I ran a 'chown' on everything under /usr to a non root user. Meant to run it for /usr/local/ Now I get the error below on opening terminal login(89809,0x7fff7bac5960) malloc: *** error for object ...
2
votes
1answer
791 views

How can I run a command that requires user input through oh-my-zsh alias?

I'm trying to add Reminder.app items through the command line by invoking an alias. I use the Automator workflow solution from this question: How can I add reminders via the command line?, which ...
8
votes
1answer
16k views

How to uninstall zsh

I'm new to Mac. A friend installed all kinds of additional software including zsh which I would like to uninstall. So how can I uninstall zsh?
3
votes
2answers
2k views

Uninstalled zsh, terminal gone weird

I uninstalled zsh pretty soon after I installed it as I realised I had got used to the normal Terminal. The uninstall went successfully and I restarted Terminal, but now it displays my computer-name ...
11
votes
3answers
7k views

Change default shell from bash to zsh

I've tried to switch my default shell to zsh, using chsh: chsh -s /bin/zsh and: chsh -s `which zsh` Both commands ended with: Changing shell for adamatan. Password for adamatan: chsh: ...
1
vote
2answers
86 views

How can I debug a series of piped commands in zsh?

The command ioreg -lw0 | grep \"EDID\" | sed "/[^<]*</s///" | xxd -p -r | strings -6 is not giving any result. Can any one help. I got this command from an article that maintains (I ...
3
votes
1answer
461 views

how to get ls to list files in case-insensitive order?

How do I get the ls shell command to list my files in: case-insensitive order with the directories at the top? The reason I ask is: I want Aquamacs Emacs dired to list my files and directories ...
3
votes
3answers
622 views

iTerm ZSH - Missing Right Prompt

I'm using oh-my-zsh and iTerm2. I've also enabled the zsh-vim-mode plugin from oh-my-zsh. One of the annoyances I've encountered is my right prompt (RPS1 & RPROMPT) doesn't seem to show up. I'd ...
0
votes
1answer
143 views

How to manually determine version control metadata for Finder?

I have a Scripts folder where I keep Automator actions, Applescripts, and shell scripts. Automator scripts are automatically assigned a version of 1.1.1 it seems. When I make revisions to any of these ...
3
votes
1answer
235 views

Within Terminal, `date` command outputs a curious prefix where it should'n

I am using a Mac Mini running Lion (10.7.5) and zsh 4.3.12 (i386-apple-darwin11.0.1) with oh-my-zsh installed. In the Terminal.app I retrieve the UNIX timestamp using the following command date +%s ...