Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lots of junk in output #36

Closed
adambiggs opened this issue Mar 20, 2015 · 5 comments
Closed

Lots of junk in output #36

adambiggs opened this issue Mar 20, 2015 · 5 comments

Comments

@adambiggs
Copy link

k was working fine for me at first, but at some point it started outputting a bunch of extra junk before each listing...

$ k
total 0
/Users/adam/.rvm/scripts/initialize:59: array parameter rvm_rvmrc_files created globally in function
/Users/adam/.rvm/scripts/initialize:112: scalar parameter rvm_user_install_flag created globally in function
/Users/adam/.rvm/scripts/hook:32: array parameter _hooks_list created globally in function
drwxr-xr-x  11 Guest _guest  374  5 Jun    2014   Guest
/Users/adam/.rvm/scripts/initialize:59: array parameter rvm_rvmrc_files created globally in function
/Users/adam/.rvm/scripts/initialize:112: scalar parameter rvm_user_install_flag created globally in function
/Users/adam/.rvm/scripts/hook:32: array parameter _hooks_list created globally in function
drwxrwxrwt  35  root  wheel 1190 23 Dec   12:26   Shared
/Users/adam/.rvm/scripts/initialize:59: array parameter rvm_rvmrc_files created globally in function
/Users/adam/.rvm/scripts/initialize:112: scalar parameter rvm_user_install_flag created globally in function
/Users/adam/.rvm/scripts/hook:32: array parameter _hooks_list created globally in function
drwxr-xr-x 104  adam  staff 3536 20 Mar   10:56   adam

I can't remember what I did, but I tried different versions of ruby and they're all doing the same thing.

@qorbani
Copy link

qorbani commented Mar 20, 2015

I have this issue since day one. Did you find the reason behind this?

@supercrabtree
Copy link
Owner

Yes, I have a solution to this, rvm clashes with k because it uses global varibles. I will commit the fix asap

@benregn
Copy link

benregn commented Apr 19, 2015

I also get something similar when using virtualenv:

/var/folders/nb/t9lz81553h1383ssztnfcgtr0000gn/T/virtualenvwrapper-post_deactivate-hook-XXXXXXXXXX.PQDM5mW3:6: scalar parameter VIRTUALENVWRAPPER_LAST_VIRTUAL_ENV created globally in function
/Users/tomas/.virtualenvs/api/bin/activate:42: scalar parameter VIRTUAL_ENV created globally in function
/Users/tomas/.virtualenvs/api/bin/activate:45: scalar parameter _OLD_VIRTUAL_PATH created globally in function

@EdJoJob
Copy link

EdJoJob commented Apr 27, 2015

And similar again for using the olivierverdier/zsh-git-prompt:

update_current_git_vars:11: array parameter __CURRENT_GIT_STATUS created globally in function
-rw-r--r-- 1 ejevans dba  2327 27 Apr   14:26 | aliases.zsh 
update_current_git_vars:11: array parameter __CURRENT_GIT_STATUS created globally in function
drwxr-xr-x 5 ejevans dba    13  1 Apr   15:34 | antigen 
update_current_git_vars:11: array parameter __CURRENT_GIT_STATUS created globally in function

@supercrabtree
Copy link
Owner

Closed by ae05b48

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants