You are not logged in.

#1 2013-03-19 08:40:47

daGrevis
Member
From: Riga, Latvia
Registered: 2011-10-16
Posts: 81
Website

[SOLVED] Getting alias to work

I'm using Zsh and Oh-my-zsh framework. All works.

I had some alias in my `.zshenv` and just yesterday I added a bunch of Git alias there too (I'm using Git a lot and I want to experiment w/ how I can save time)!

https://github.com/daGrevis/Dotfiles/bl … er/.zshenv

So the problem is that alias `gcm` tries to checkout to `master` branch. However, after sourcing my file it does the right thing (`git commit`) until I close the terminal.

Last edited by daGrevis (2013-03-19 08:43:12)

Offline

#2 2013-03-19 08:43:02

daGrevis
Member
From: Riga, Latvia
Registered: 2011-10-16
Posts: 81
Website

Re: [SOLVED] Getting alias to work

Just found out that I was using `git` plugin for Oh-my-zsh and... https://github.com/robbyrussell/oh-my-z … in.zsh#L21

I will disable it.

Offline

Board footer

Powered by FluxBB