Tag Info

Hot answers tagged

2

I would try this approach to track down the source of /opt/texbin in your PATH variable: To get a list of files, which are actually read in (e.g. a non-standard file might be sourced by another file!), you can invoke zsh with the SOURCE_TRACE option enabled: $ zsh -o sourcetrace +/etc/zshenv:1> <sourcetrace> +/home/user/.zshrc:1> ...


2

I was interested in the answer too, and a quick search turned up this article on globbing in zsh. The highlights: ^ Acts as a negation. For example, ls ^two.file will only list the one.file and three.file. You can combine ^ and *. For example, ls ^two* will list anything that doesn't start with "two" You can use parentheses to make more complex matches. ...


1

If you want to use the ksh syntax ls !(two).file, simply turn on the KSH_GLOB option in zsh: $ setopt KSH_GLOB $ ls -1 !(two).file one.file three.file But zsh provides other powerful globbing techniques, activated by the EXTENDED_GLOB option. For a complete list, please read the section FILENAME GENERATION in man zshexpn. Most relevant to the question are ...


1

Check the .bash_profile file in your home directory. The commands in this file are read whenever a terminal starts. The offending sed commands should be found in that file, if not then check /etc/profile forsed` commands.


1

chsh -s /bin/bash should do the trick.


1

On the install.sh script for oh-my-zsh you can see this: echo "\033[0;34mCopying your current PATH and adding it to the end of ~/.zshrc for you.\033[0m" sed -i -e "/export PATH=/ c\\ export PATH=\"$PATH\" " ~/.zshrc The PATH you had on your Cygwin shell (which in turn was copied from Windows when you started Cygwin) was added during installation to the ...


1

Sorry to say, but it looks like support for this just isn't built in to git at the moment... Comparing this: https://github.com/git/git/blob/master/builtin/push.c with this: https://github.com/git/git/blob/master/builtin/log.c You'll see that the latter has various references to color (starting with including color.h), and the former does not. That ...



Only top voted, non community-wiki answers of a minimum length are eligible