Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Questions about the Terminal application or its terminal emulation should use this tag. Use **command-line** for questions about shells or command-line programs that do not specifically involve Terminal.
14
votes
3
answers
18k
views
In terminal, modify the text that comes before $
In terminal I can always see which path I'm in:
macbook-romeo:School romeovs$ echo "example command"
which I find quite useful. …
2
votes
4
answers
454
views
Cannot trash a file?
I want to delete a file because it's of no use to me yet I seem unable to do so. I've gone through these steps so far:
Put file in trash, empty trash. -> Mac keeps on telling me: 12 items to remove. …
3
votes
1
answer
277
views
mac asking password after cd in terminal
I'm using zsh
EDIT:
The terminal asks for a password at random moments, for random directories. Not a clue as to any pattern. …
10
votes
4
answers
13k
views
Use MacVim as standard Terminal?
This breaks the symmetry though, I have to use terminal.app to navigate to a file, edit in MacVim (using mvim of course), quit MacVim and open up the terminal again. … Isn't there a way to use MacVim in stead of terminal to do all this? I'm not talking about iTerm 2 etc, these apps don't cut is for me. I'm talking about true unix command line in MacVim.. …
9
votes
1
answer
1k
views
Change font of Terminal programmatically w/o restarting
/usr/bin/env osascript -l JavaScript
function run (argv) {
var terminal = Application('Terminal');
terminal.defaultSettings.fontName = 'creep';
terminal.defaultSettings.fontSize = 16;
// these …
285
votes
14
answers
561k
views
Why doesn't .bashrc run automatically?
I put some alias commands in my .bashrc file, so that they might be loaded everytime I open a new Terminal window. Yet this doesn't happen. … I have to select run script: in the Terminal>Preferences>"MyDefaultTheme">Shell prefpane and add:
source .bashrc && clear for it to work... …
3
votes
1
answer
164
views
Tmux hampers osascripts display notification
I like to show notifications from scripts using osascript -e 'display notification "Some text"'.
This works fine from the plain shell but it stop working when in tmux.
It just doesn't show the notif …
35
votes
12
answers
23k
views
Terminal login hangs
Opening a new Terminal window does seem to create tty file (/dev/ttys<number>). … The terminal title is Terminal — login — term big — ttys001 — 89x18 — ⌘1, where term big is the settings name.
There's no sudo process showing up in the Activity Monitor. …
1
vote
1
answer
658
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 ! … Everytime I launch an from the command line that requires X11 (like a gnuplot or octave plot) the terminal just hangs and nothing happens. …