Posts of Tag: zsh
Using a terminal can be a bit of an intimidating experience in the beginning - but after you get used to it, it can boost your productivity in ways you couldn't imagine and can become quite a pleas...Learn More
**Zsh vs Bash**
When we talk about UNIX based programming, it's usually about the shells, terminals, and the command line interfaces. The most prevalent shell in this regard is Bash but there are other variants...Learn More
In zsh, when I have to create a bunch of files with zsh, I usually do something like:
for x in $(seq 1 1000); do .....; done
This works fine, it gives me files with names foo-1.txt .. foo-1000.txt.
However, th...Learn More
How can I take a multi-line string in zsh, and split it into an array of strings that are a single line each?
Specifically I want to take the output of cal
Su Mo Tu We Th Fr Sa
1 2 ...Learn More
There are lots of SO questions on running shell programs from vim. What I'm wondering is if it is possible to do the reverse - i.e.
$ vim :BundleInstall
for example, to allow me to run BundleInstall as part of...Learn More
When using the terminal in emacs (M-x term) under MacOS for some reason it always posts the characters 4m before every line in zsh and always prints 2 lines containing the user info such as
I am writing a series of scripts for Git management in zsh.
How do I check if the current directory is a Git repository? (When I'm not in a Git repo, I don't want to execute a bunch of commands and get a bunch...Learn More
Why does my virtualenv path get appended to the $PATH variable of a login shell? Is it possible to have it prepended so it gets searched first?
Last login: Tue Aug 26 18:35:15 on ttys000
➜ ~ . ./venvs/py_ven...Learn More
I want to tag some text with the Brill-Tagger from NLTK. However, the script exits like this:
Training Brill tagger on 43005 sentences...
Finding initial useful rules...
zsh: killed ./brill.py ...Learn More
Ever since I installed oh-my-zsh and iTerm2 emulator for my terminal I can't seem to access ipython any longer from my terminal. Would be great if any of you can help out!
zsh: command not found: ipy...Learn More
I am using zsh as a shell.
I would like to execute the unix find command and put the result into a shell array variable, something like:
FILES=($(find . -name '*.bak'))
so that I can iterate over the values wi...Learn More
I use OS X (Mountain Lion) and ZSH. I can use easy_install to install some python packages but if I want to use the command in my ZSH afterwards I just get something like this:
zsh: command not found: virtu...Learn More