Amelio Vazquez-Reina
  • Member for 10 years, 11 months
  • Last seen more than a month ago
Order of redirections
26 votes

The order of redirection is important, and they should be read left to right. For example: command 2>&1 >somefile means: Redirect the descriptor named 2 (bound to stderr) to the current ...

View answer
Specifying ciphers and protocol 2 in .ssh/config
Accepted answer
18 votes

Cyphers should be typed Ciphers To specify a protocol use the syntax: Protocol X where X can 1 or 2 (2 is the default) Try man ssh_config

View answer
Zsh: export: not valid in this context
6 votes

I think I got it, for POSIX compliance I need double quotes here. The following fixed it. export CONDA_ENV_PATH="$(get_dirname "$_THIS_DIR")" The following excellent article may be helpful: When is ...

View answer
Unable to copy from tmux (2.4+) to the OS X clipboard
5 votes

Try the following instead: bind-key -T copy-mode M-w send-keys -X copy-pipe 'reattach-to-user-namespace pbcopy' Note that tmux recently changed key tables: Key tables have undergone major ...

View answer
Building zsh without admin priv: No terminal handling library found
Accepted answer
3 votes

Update: Following Gilles' answer, I updated CPPFLAGS and LDFLAGS and the problem goes away during configure. However, I now get an error during make: <INSTALLATION_PATH>/lib/libncurses.a: could ...

View answer
No xauth data; using fake authentication. Unable to display remote windows
Accepted answer
0 votes

I should have known better, but OS X does not come with an X server. You need to install your own. Once you install XQuartz, you can restart and the problem goes away.

View answer
Screen: "Cannot exec /my/path/to/zsh" with local shell
Accepted answer
0 votes

This is embarrassing: the value of of my $SHELL variable was not correct (it had a typo). I apologize - I will make sure I triple check these things before posting a question like this and wasting ...

View answer
ZSH: `ls *(.)` lists regular files only but `ls *(/)` does not list directories only
-1 votes

@enzotib is right, and with that in mind, the command that lists directories under pwd in zsh is: ls .(/)

View answer