-
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 Stack Overflow
- Search for 'Stack Overflow'
So I've been getting into a bit of assembly lately and I'm a beginner so i was wondering if someone could clarify something. I take it every process has it's own set of registers, and each thread can modify these registers right?. How then do multiple threads use the same registers without causing…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm a beginner learning some assembly, when preserving the ESP register before a function call does it matter if you do it by adding or subtracting? hard to explain, consider the following
mov esi, esp
sub esp, 12 // on 32bit OS this would mean that there are 3 arguments to the function
// push,…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Sorry if I am not supposed to post beginner level questions here..I am new to this site
Please read the code below first
I am confused about getchar() 's role in the following code.. I mean I know its helping me see the output window which will only be closed when I press enter key
So getchar()…
>>> More
-
as seen on Oracle Blogs
- Search for 'Oracle Blogs'
Learning new technologies can be daunting. If you’ve never used a Mac before, you’ll probably be a bit baffled at first. But, you’re probably at least coming from a desktop computing background (Windows), so you common frame of reference.
But what if you’re just now learning…
>>> More
-
as seen on Programmers
- Search for 'Programmers'
My brother is just starting out college. He's studying the same thing I am here in Bolivia; Systems Engineer which is the equivalent of what a CS degree is in the US.
Being his big brother and a programmer myself I really want to guide him and give him the right material to learn and become good…
>>> More