-
as seen on Super User
- Search for 'Super User'
I'm a bash user willing to switch to a more friendly and advanced shell. I read a lot of good things about zsh, but I gave a quick test at fish and it seems great too.
Both seem very close in term of features, what is your opinion about those two shells especially as regards shell programming?
>>> More
-
as seen on Super User
- Search for 'Super User'
I have ZSH as default shell in MacOS, everything is working fine. ZSH is installed as brew package, Ive set default shell in my account, new shell is listed in /etc/shells... everything is set, like I've said.
I have some shell scripts in which I use some commands from zsh, like print. When I execute…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I run the following codes separately as my prompt unsuccessfully in .zshrc. This suggests me that apparently I do not have a program called __git_ps1. It is not in MacPorts.
#1
PROMPT="$(__git_ps1 " \[\033[1;32m\] (%s)\[\033[0m\]")\$"$
#2
PROMPT="$(__git_ps1 " (%s)")\$"$
#3
# Get the…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm a bash user willing to switch to a more friendly and advanced shell. I read a lot of good things about zsh, but I gave a quick test at fish and it seems great too.
Both seem very close in term of features, what is your opinion about those two shells ?
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have "v" aliased to "vim */.cpp */.hpp */.cxx"
Problem is, if I'm in a directory without any .cxx files, zsh treats this as an error. Is there anyway to tell zsh to create the absence of */*.cxx files as "" instead of an error?
>>> More
-
as seen on Pro Webmasters
- Search for 'Pro Webmasters'
I have the following table in my Dashboard:
Page path level 1 Visits Goal Completions
----------------- ------ ----------------
/sub1/ 994 1,295
/ 102 3
/sub2/ 10 1
I know my conversion rate is 10-20%, and that actually…
>>> More
-
as seen on Super User
- Search for 'Super User'
Emacs's quail functionality with (set-input-method "TeX") is great for typesetting mathematical notes in plain text. It even has completions, but, well... After \su<TAB> I get
Possible completion and corresponding characters are:
\su: -
\sub: -
\subs: -
\subse: -
…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
On Windows I/O completion ports, say I do this:
void function()
{
WSASend("1111"); // A
WSASend("2222"); // B
WSASend("3333"); // C
}
If I got a "write-complete" that says 3 bytes of WSASend() A were sent, is it possible that right after that I'll get a "write-complete" that tells me…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Is there any standard way of providing list of program switches, so it would be possible for zsh to determine possible completions? Or must it provided directly to zsh developers and only they can add completions to zsh?
>>> More
-
as seen on Super User
- Search for 'Super User'
I've recently switched from Firefox to Chrome, and the thing I miss most from Firefox is the "Awesome Bar" that suggests completions for what I type primarily based on page titles, and then secondarily based on domain names.
Chrome offers both matching URLs and titles, just like like Firefox, but…
>>> More